I'm trying to make recurring payments using CreateRecurringPaymentsProfile.
Sent data:
and TOKEN = EC-9VR75992DL646470M & amp; SUBSCRIBERNAME = Mr. Subscriber & amp; PROFILESTARTDATE = 2013-07-22T00: 00: 00Z & DESC = + Our monthly subscription + + + Upgrade Plan% 3A + you + of +% will be paid + 240.1 + be + cut + your + account + monthly + . + Cancel + at any time + 6 + months later. + Additional + conditions + and + status + can + be found + in + + + + + + + + + + contract given in website.com. & Amp; MAXFAILEDPAYMENTS = 3 & amp; AUTOBILLAMT = AddToNextBilling & amp; BillingWirefreeze = Month & amp; Billing === & amp; Amp; AMT = 0.10 & amp; Amp; Total Bililing and = CURRENCYCODE = USD = "[" TIMESTAMP "] = & gt; string (20)" 2013 string (2) "failure" [ "VERSION"] = & gt; String (2) "" ["correlation"] = & gt; String (13) "9011114f8316f" ["ACK"] = & gt; String (7) "64" ["build"] = & gt; String (7) "6202528" ["L_ERRORCODE0"] = & gt; String (5) "11581" ["L_SHORTMESSAGE0"] = & gt; String (12) "Invalid data" ["L_LONGMESSAGE0"] = & gt; String (30) "Profile description is invalid" ["L_SEVERITYCODE0"] = & gt; String (5) "Error"} The problem may also be long details or something else. Maybe I'm missing a field?
I do:
$ nvpstr = ""; $ Nvpstr = "& VERSION = 64.0"; $ Nvpstr = "& Amp; Token =". Get $ _ ['token']; $ Nvpstr = "& Amp; Payment fee = authorization"; $ Nvpstr = "& PAYERID =". $ _ Session ['payered']; $ Nvpstr = "& Amp; AMT =". $ _ Session ['recurring initmount']; $ Nvpstr = "& Amp; amp; currency = code ="; $ Nvpstr = "& Amp; L_BILLINGTYPE0 = RecurringPayments"; $ Nvpstr = "& Amp; L_BILLINGAGREEMENTDESCRIPTION0 =". $ _ Session ['recursive disk']; $ ResArray = hash_call ("DoExpressCheckoutPayment", $ nvpstr); Before sending the above information:
$ nvpstr = ""; $ Nvpstr = "& Amp; Token =". $ _ GET ['token']; $ Nvpstr = "& Amp; SUBSCRIBERNAME = Mr. Subscriber"; $ Nvpstr = "& Amp; PROFILESTARTDATE =". Date ( "Waimdi" Mketimti (0, 0, 0, date ( "M", time ()) + 1, date ( "D", time ()), date ( "Y", time ())). "T 00: 00: 00 Z"; $ Nvpstr. = "& Amp; DESC =". $ _ sESSION [ 'recurring Disk']; $ Nvpstr. = "and MAXFAILEDPAYMENTS = 3"; $ Nvpstr. = "& Amp ; AUTOBILLAMT = AddToNextBilling "; $ Nvpstr. =" & Amp; BILLINGPERIOD = Month "; $ Nvpstr. =" & Amp; BILLINGFREQUENCY = 1 "; $ Nvpstr. =" & Amp; AMT = ". $ _ sESSION [ 'recursive installation ']; $ Nvpstr. = "& Amp; amp; total Billingkailiks =". $ _ sESSION [' recurring installation Kachal ']; $ Nvpstr. = "& Amp; CURRENCYCODE = USD"; $ ResArray = hash_call ( "CreateRecurringPaymentsProfile ", $ Nvpstr);
desc has a character limit of 127 that has a small value The problem can be solved. If a field was missing then you receive a field format error that does not tell you the variable that was not provided.
No comments:
Post a Comment