Paypal Api Error Code 11502
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up CreateRecurringPaymentsProfile giving Error 11502: Invalid Token up vote 5 down vote favorite 2 I keep getting the Invalid Token Error when i call the CreateRecurringPaymentsProfile NVP API. Please find the sequence of my API calls below: SetExpressCheckout METHOD = SetExpressCheckout VERSION = 98 PWD =
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is http://stackoverflow.com/questions/16053092/createrecurringpaymentsprofile-giving-error-11502-invalid-token a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Paypal Recurring Payment Transaction Error: 11502 : Token is invalid up vote 8 down vote favorite 1 I am new to paypal and I need to implement a subscription ( recurring http://stackoverflow.com/questions/14723390/paypal-recurring-payment-transaction-error-11502-token-is-invalid payment) for my client.I am using paypal sandbox for its implementation. I followed the way that the paypal insists for creating a recurring payment profile. On getting "success" acknowlegment from SetExpressCheckout, GetExpressCheckOut and DoExpressCheckOut . I have tried to create the Recurring Payment Profile with the token from the DoExpressCheckOutpayment response, but the response from the CreateRecurrinpayment profile returns failure, stating that the toke in ivnalid. I tried by setting "BILLINGAGREEMENTDESCRIPTION and BILLINGTYPE=RecurringPayments" on my set express checkout request but also the same error persists. Please find the code I used to implement the recurring deposit below. SetEXpressCheckout { NameValueCollection values = new NameValueCollection(); values["METHOD"] = "SetExpressCheckout"; values["RETURNURL"] = PayPalSettings.ReturnUrl; values["CANCELURL"] = PayPalSettings.CancelUrl; values["PAYMENTACTION"] = "Sale"; values["CURRENCYCODE"] = "USD"; values["BUTTONSOURCE"] = "PP-ECWizard"; values["USER"] = PayPalSettings.Username; values["PWD"] = PayPalSettings.Password; values["SIGNATURE"] = PayPalSettings.Signature; values["SUBJECT"] = ""; values["L_NAME0"] = "MyName"; values["L_AMT0"] = "20.00"; values["VERSION"] = "2.3"; values["AMT"] = PayPalSettings.OrderAmount; values["L_BILLINGTYPE0"] = "RecurringPayments"; values["L_BILLINGAGREEMENTDESCRIPTION0"] = "Test subscription"; values = Subm
Sign in Pricing Blog Support Search GitHub This repository Watch 4 Star 25 Fork 25 makasim/PayumBundleSandbox Code Issues 5 Pull requests 10 Projects 0 Pulse Graphs New issue RecurringPayment invalid token error 11502 paypal api #46 Closed tbraune89 opened this Issue Nov 5, 2014 · 0 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants tbraune89 commented Nov 5, 2014 paypal api error Hey guys, i followed this tutorial https://github.com/Payum/PaypalExpressCheckoutNvp/blob/master/Resources/docs/recurring-payments-basics.md and tried to use the "RecurringPaymentExamplesController" of this bundle. Both gave me this Response: [2014-11-05 19:22:58] doctrine.DEBUG: UPDATE RecurringPaymentDetails SET details = ? WHERE id = ? [{"TOKEN":"EC-7F052032G63804811","DESC":"Subscribe to weather forecast for a week. It is 0.05$ per day.","EMAIL":"buyer@buyer.com","AMT":0.05,"CURRENCYCODE":"EUR","BILLINGFREQUENCY":7,"PROFILESTARTDATE":"2014-11-05T19:22:56+01:00","BILLINGPERIOD":"Day","TIMESTAMP":"2014-11-05T18:22:57Z","CORRELATIONID":"c693bcdbc9b2","ACK":"Failure","VERSION":"65.1","BUILD":"13630372","L_ERRORCODE0":"11502","L_SHORTMESSAGE0":"Invalid Token","L_LONGMESSAGE0":"The token is invalid","L_SEVERITYCODE0":"Error","PAYMENTREQUEST_0_PAYMENTACTION":"Sale"},11] I googled that invalid token error and got something about an redirect/token issue. But i'm still failing. Do you know how to solve this? public function createAgreementAction(Request $request) { $paymentName = 'paypal'; $subscription = $this->getWeatherForecastSubscriptionDetails(); if ($request->isMethod('POST')) { $storage = $this->getPayum()->getStorage('Comp\Bundle\MyBundle\Entity\AgreementDetails'); /** @var $agreement AgreementDetails */ $agreement = $storage->createModel(); $agreement['PAYMENTREQUEST_0_AMT'] = 0; $ag