recurring billing - PayPal CreateRecurringPaymentsProfile Invalid token -


I am trying to make recurring payments using the SOAP API, I have followed the steps outlined in the PayPal API manual :

1- Receive the call "Set Express Express Checkout" API 2 - Token and redirect the buyer to PayPal site. 3- After the user is finished it will be redirected to my feedback page. 4- Call "Express Express" API 5- Call "CreateRecurringPaymentsProfile" API.

My call SOAP structure:

  & lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xmlsoap.org/ soap / envelope /" xmln: kalash = "kalash: ebay: api: paypal api" xmlno arn 1 = "kalash: ebay: apis: ebillbage content "& Gt; & Lt; Soapenv: header & gt; & Lt; Uran: RequesterCredentials & gt; & Lt; Urn1: credentials & gt; & Lt; Urn1: Username & gt; '+ United + +' & lt; / Urn1: Username & gt; & Lt; Urn1: Password & gt; '+ PW +' & lt; / Urn1: Password & gt; & Lt; Urn1: signature & gt; '+ Sig +' & lt; / Urn1: signature & gt; & Lt; / Urn1: Credit & gt; & Lt; / Urn: RequesterCredentials & gt; & Lt; / Soapenv: Header & gt; & Lt; Soapenv: body & gt; & Lt; Pulse: CreateRecurringPaymentsProfileReq & gt; & Lt; Pulse: CreateRecurringPaymentsProfileRequest & gt; & Lt; Urn1: version & gt; '+ Version +' & lt; / Urn1: version & gt; & Lt; Urn1: CreateRecurringPaymentsProfileRequestDetails & gt; & Lt; Urn1: token & gt; '+ Tokens +' & lt; / Urn1: token & gt; & Lt; Urn1: RecurringPaymentsProfileDetails & gt; & Lt; Urn1: Subscriber name & gt; '+ First name +' '+ Last name +' & lt; / Urn1: Subscriber name & gt; & Lt; Urn1: BillingStartDate & gt; '+ StrCurrentDate +' & lt; / Urn1: BillingStartDate & gt; & Lt; / Urn1: RecurringPaymentsProfileDetails & gt; & Lt; Urn1: ScheduleDetails & gt; & Lt; Urn1: Details & gt; '+ BillingAgreementDescription +' & lt; / Urn1: Details & gt; & Lt; Urn1: PaymentPeriod & gt; & Lt; Urn1: BillingPeriod & gt; '+ BillingPeriod +' & lt; / Urn1: BillingPeriod & gt; & Lt; Urn1: BillingFrequency & gt; '+ BillingFrequency +' & lt; / Urn1: BillingFrequency & gt; & Lt; Urn1: zodiac mood id = "'+ used credit +'" & gt; '+ Zodiac +' & lt; / Wealth 1: Amount & gt; & Lt; / Urn1: PaymentPeriod & gt; & Lt; / Urn1: ScheduleDetails & gt; & Lt; / Urn1: CreateRecurringPaymentsProfileRequestDetails & gt; & Lt; / Cache: CreateRecurringPaymentsProfileRequest & gt; & Lt; / Cache: CreateRecurringPaymentsProfileReq & gt; & Lt; / Soapenv: Body & gt; 
P> Usually when it is happening with people, because you did not include the billing contract parameter in your SetExpressCheckout request, therefore, the token you get back to is actually CreateRecurringPayments is invalid for use with Profile.

Here I have put together people to answer this question. It is using NVP instead of SOAP, but you can see that the SEC request includes billing and billing DCRPTN parameters. Ensure that you are involved in your SEC requests related to them.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -