Home > paypal api > paypal api error code 11502

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 = USER = SIGNATURE = ReturnUrl = http://google.com CANCELURL = http://google.com PAYMENTREQUEST_0_PAYMENTACTION = Authorization PAYMENTREQUEST_0_AMT = 100.00 PAYMENTREQUEST_0_CURRENCYCODE = USD L_PAYMENTREQUEST_0_NAME0 = Item1 L_PAYMENTREQUEST_0_QTY0 = 1 L_PAYMENTREQUEST_0_AMT0 = 100.00 PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID = rahul.katikineni@sap.com LOCALECODE = US L_BILLINGTYPE0 = RecurringPayments L_BILLINGAGREEMENTDESCRIPTION0 = SameEveryTime I get back a token with ACK=*Success* as response. I then navigate to the paypal website using the URL [https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&token=token] and login with a paypal account and click on "Agree and Continue". After agreeing and successfully redirecting to the redirect URL, I make the GetExpressCheckoutDetails API call with the following parameters METHOD = GetExpressCheckoutDetails VERSION = 98 PWD = USER = SIGNATURE = TOKEN = After successfully getting the the payer details as response, i make the DoExpressCheckoutPayment API call METHOD = DoExpressCheckoutPayment VERSION = 98 PWD = USER = SIGNATURE = TOKEN = PAYERID = PAYMENTREQUEST_0_AMT = 100 PAYMENTREQUEST_0_PAYMENTACTION = Sale PAYMENTREQUEST_0_CURRENCYCODE = USD L_PAYMENTREQUEST_0_NAME0 = Item1 L_PAYMENTREQUEST_0_QTY0 = 1 L_PAYMENTREQUEST_0_AMT0 = 100.00 PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID = rahul.katikineni@sap.com I now make the CreateRecurringPaymentsProfile API call METHOD = CreateRecurringPaymentsProfile VERSION = 98

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

 

Related content

paypal api error 10401

Paypal Api Error p here for a quick overview of the relatedl 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 million programmers just like you helping each other Join them it only takes a minute Sign up Paypal L ERRORCODE Order total is invalid and

paypal api error 10400

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Paymentrequest amt a li li a href Paypal Error Codes a li ul td tr tbody table p here for a quick overview of relatedl the site Help Center Detailed answers to any order total is missing paypal express checkout questions you might have Meta Discuss the workings and policies p h id Paymentrequest amt p of this site About Us Learn more about Stack Overflow the company Business Learn more about setexpresscheckout api call failed hiring developers or posting ads with

paypal api error 10534

Paypal Api Error p Adaptive Payments relatedl Payouts Payouts Mass Pay Authentication paypal api error codes Security Vault Log In with PayPal Adaptive Accounts paypal login Permissions APIs REST APIs API Overview Authentication and Headers API Reference REST SDKs REST SDKs Quickstart NVP SOAP API reference Support Enter search term Dashboard Dashboard My Apps Credentials My Account Sandbox Accounts Notifications Transactions IPN Simulator Webhooks Simulator Webhooks Events Live Transactions Webhooks Events Log In x Back to APIsError CodesGeneral ErrorsAddressVerify ErrorsBilling Agreements ErrorsSetCustomerBillingAgreement ErrorsGetBillingAgreementCustomerDetails ErrorsCreateBillingAgreement ErrorsBAUpdate ErrorsDirect Payments ErrorsDoDirectPayment ErrorsDoDirectPayment Processor Response CodesDoReferenceTransaction ErrorsExpress Checkout ErrorsSetExpressCheckout ErrorsGetExpressCheckoutDetails ErrorsDoExpressCheckoutPayment ErrorsAuthorization Capture ErrorsManagePendingTransactionStatus

paypal api error 10422

Paypal Api Error p or join the conversation in the Community Help Forum Video is not availableCloseThanks for using PayPalYou were logged out to help protect your account Log In AgainHelp Center Call us Email us Resolution Center Community forums Privacy Questions Classic SiteHelpContactSecurityFeedback - PayPal Inc All rights reserved PrivacyLegal p p 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 relatedl Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with

paypal api error 10747

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Login a li ul td tr tbody table p Adaptive Payments Payouts Payouts Mass Pay Authentication Security Vault relatedl Log In with PayPal Adaptive Accounts Permissions APIs paypal error codes REST APIs API Overview Authentication and Headers API Reference REST p h id Paypal Login p SDKs REST SDKs Quickstart NVP SOAP API reference Support Enter search term Dashboard Dashboard My Apps Credentials My Account Sandbox Accounts Notifications Transactions IPN Simulator Webhooks Simulator Webhooks Events Live Transactions Webhooks Events Log In

paypal api error 10563

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Login a li ul td tr tbody table p with PayPal x f days ago paypal error codes FAQ Can I have my PayPal funds automatically transfer to p h id Paypal Login p my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not receiving

paypal api error 10764

Paypal Api Error p with PayPal x f days ago FAQ Can I have my PayPal funds automatically transfer to my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not receiving funds for completed orders x f days ago td tr FAQ How do I apply for Website Payments Pro x f days ago td tr FAQ How do I make the phone field

paypal api error 81115

Paypal Api Error p with PayPal x f days ago paymentaction required parameter missing paypal FAQ Can I have my PayPal funds automatically transfer to remington my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not receiving funds for completed orders x f days ago td tr FAQ How do I apply for Website Payments Pro x f days ago td tr FAQ How

paypal api error 11502

Paypal Api Error p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the relatedl 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 million programmers just like you helping each other Join them it only takes a minute Sign up PayPal CreateRecurringPaymentProfile Error - Invalid Token up vote

paypal api error 10544

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Test Credit Card a li ul td tr tbody table p with PayPal x f days ago paypal error codes FAQ Can I have my PayPal funds automatically transfer to p h id Paypal Test Credit Card p my Bank x f days ago td tr FAQ Where can I access my IPN paypal sandbox history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr

paypal api error code 10764

Paypal Api Error Code p with PayPal x f days ago FAQ Can I have my PayPal funds automatically transfer to my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not receiving funds for completed orders x f days ago td tr FAQ How do I apply for Website Payments Pro x f days ago td tr FAQ How do I make the phone

paypal api error 13113

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Aeromotive a li li a href Contact Paypal a li ul td tr tbody table p with PayPal x f days ago error code ebay FAQ Can I have my PayPal funds automatically transfer to buyer cannot pay my Bank x f days ago td tr FAQ Where can I access my IPN p h id Aeromotive p history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago

paypal api error list

Paypal Api Error List table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Error Code a li li a href Paypal Developer Account a li ul td tr tbody table p Adaptive Payments Payouts Payouts Mass relatedl Pay Authentication Security Vault Log In p h id Paypal Error Code p with PayPal Adaptive Accounts Permissions APIs REST APIs API paypal status Overview Authentication and Headers API Reference REST SDKs REST SDKs Quickstart NVP SOAP p h id Paypal Developer Account p API reference Support Enter search term Dashboard Dashboard My Apps Credentials My

paypal api error code 10736

Paypal Api Error Code p with PayPal x f days ago FAQ Can I have my PayPal funds automatically transfer to my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not receiving funds for completed orders x f days ago td tr FAQ How do I apply for Website Payments Pro x f days ago td tr FAQ How do I make the phone

paypal api error 15005

Paypal Api Error table id toc tbody tr td div id toctitle Contents div ul li a href Result Code a li li a href Declined a li ul td tr tbody table p p p p p p p p

paypal api error code 10527

Paypal Api Error Code p Adaptive Payments Payouts Payouts Mass Pay Authentication relatedl Security Vault Log In with PayPal Adaptive Accounts Permissions APIs REST APIs API Overview Authentication and Headers API Reference REST SDKs REST SDKs Quickstart NVP SOAP API reference Support Enter search term Dashboard Dashboard My Apps Credentials My Account Sandbox Accounts Notifications Transactions IPN Simulator Webhooks Simulator Webhooks Events Live Transactions Webhooks Events Log In x Back to APIsError CodesGeneral ErrorsAddressVerify ErrorsBilling Agreements ErrorsSetCustomerBillingAgreement ErrorsGetBillingAgreementCustomerDetails ErrorsCreateBillingAgreement ErrorsBAUpdate ErrorsDirect Payments ErrorsDoDirectPayment ErrorsDoDirectPayment Processor Response CodesDoReferenceTransaction ErrorsExpress Checkout ErrorsSetExpressCheckout ErrorsGetExpressCheckoutDetails ErrorsDoExpressCheckoutPayment ErrorsAuthorization Capture ErrorsManagePendingTransactionStatus ErrorsMass Payments ErrorsMassPay ErrorsMassPay Failed

paypal api error code 10004

Paypal Api Error Code table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Digital Goods a li ul td tr tbody table p with PayPal x f days ago you are not signed up to accept payment for digitally delivered goods FAQ Can I have my PayPal funds automatically transfer to transaction refused because of an invalid argument see additional error messages for details my Bank x f days ago td tr FAQ Where can I access my IPN paypal api error codes history x f days ago td tr FAQ How do

paypal api error 11581

Paypal Api Error p 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 relatedl Learn more about Stack Overflow the company Business Learn more about hiring paypal error code developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask paypal recurring payment profile description is invalid Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute

paypal api error codes

Paypal Api Error Codes table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Rest Sdk a li li a href Paypal Debug Id a li li a href Paypal Get Access Token a li li a href Paypal Developer a li ul td tr tbody table p Adaptive Payments Payouts Payouts relatedl Mass Pay Authentication Security Vault Log p h id Paypal Rest Sdk p In with PayPal Adaptive Accounts Permissions APIs REST APIs paypal rest api API Overview Authentication and Headers API Reference REST SDKs REST SDKs Quickstart NVP p h id

paypal api error code 81115

Paypal Api Error Code table id toc tbody tr td div id toctitle Contents div ul li a href Remington a li ul td tr tbody table p with PayPal x f days ago paymentaction required parameter missing paypal FAQ Can I have my PayPal funds automatically transfer to p h id Remington p my Bank x f days ago td tr FAQ Where can I access my IPN history x f days ago td tr FAQ How do I handle failed validation checks in my Payments Standard account x f days ago td tr FAQ Why am I not

paypal api error messages

Paypal Api Error Messages table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Error Codes a li li a href Paypal Support a li li a href Paypal Login a li ul td tr tbody table p Adaptive Payments Payouts Payouts Mass Pay Authentication relatedl Security Vault Log In with PayPal Adaptive p h id Paypal Error Codes p Accounts Permissions APIs REST APIs API Overview Authentication and Headers paypal status API Reference REST SDKs REST SDKs Quickstart NVP SOAP API reference Support Enter search paypal developer account term Dashboard Dashboard My Apps

paypal api error code 15005

Paypal Api Error Code table id toc tbody tr td div id toctitle Contents div ul li a href Processor Response Code a li li a href Avs G Global Unavailable a li li a href Paypal Login a li ul td tr tbody table p with PayPal x f days ago processor decline visa FAQ Can I have my PayPal funds automatically transfer to p h id Processor Response Code p my Bank x f days ago td tr FAQ Where can I access my IPN result code history x f days ago td tr FAQ How do I

paypal api error codes reference

Paypal Api Error Codes Reference table id toc tbody tr td div id toctitle Contents div ul li a href Paypal Rest Api a li li a href Paypal Api Status a li li a href Paypal Sdk a li ul td tr tbody table p Adaptive Payments Payouts Payouts Mass Pay Authentication Security Vault relatedl Log In with PayPal Adaptive Accounts Permissions APIs paypal error codes REST APIs API Overview Authentication and Headers API Reference REST p h id Paypal Rest Api p SDKs REST SDKs Quickstart NVP SOAP API reference Support Enter search term Dashboard Dashboard paypal rest