[interchange] Pass through AllowNote parameter to PayPal.

Stefan Hornburg interchange-cvs at icdevgroup.org
Fri Oct 19 14:51:59 UTC 2012


commit 7b1ee9c933c8d470b5afd05963fed6b51aed91c4
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Fri Oct 19 16:51:20 2012 +0200

    Pass through AllowNote parameter to PayPal.

 lib/Vend/Payment/PaypalExpress.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Payment/PaypalExpress.pm b/lib/Vend/Payment/PaypalExpress.pm
index 1173d57..d5d632d 100644
--- a/lib/Vend/Payment/PaypalExpress.pm
+++ b/lib/Vend/Payment/PaypalExpress.pm
@@ -736,6 +736,7 @@ sub paypalexpress {
 		push @setreq,  SOAP::Data->name("SurveyQuestion" => $surveyQuestion)->type("xs:string") if $surveyQuestion; # max 50 chars
 		push @setreq,  SOAP::Data->name("SurveyChoice" => $surveyChoice)->type("xs:string") if $surveyChoice; # max 15 chars
 		push @setreq,  SOAP::Data->name("LocaleCode" => $localeCode)->type("xs:string") if $localeCode;
+		push @setreq,  SOAP::Data->name("AllowNote" => $allowNote)->type("xs:string") if defined $allowNote; # 0 or 1
 #		push @setreq,  SOAP::Data->name("TotalType" => $totalType)->type("") if $totalType; # ### crashes ... ###
 
 



More information about the interchange-cvs mailing list