Modify recurring billing

serKrusH
Contributor
Contributor

Hello.
Help me please. I can’t change the cost of recurring a payment made through a paypal account.
I read the documentation:

https://developer.paypal.com/docs/payflow/recurring-billing/#using-the-sdk-to-perform-recurring-task...

 

If the first payment was made using a bank card (Pay with credit or debit card), then the modification is successful. But if through paypal account (Pay with PayPal) - I get a response:

 

{ result: '23',
  secureToken: null,
  secureTokenId: null,
  respMsg: 'Invalid account number',
  profileId: null,
  rpref: 'R9X50D5443D2',
  endpoint: 'https://pilot-payflowlink.paypal.com' }

 

Selection_144.png

 

This is what i post to paypal

 

{ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
  method: 'POST',
  body:  'TENDER[1]=C&TRXTYPE[1]=R&ACTION[1]=M&ORIGPROFILEID[12]=RT0000000083&AMT[5]=15.95&PARTNER[6]=PARTNER&VENDOR[11]=VENDOR&USER[9]=USER&PWD[12]=PWD' }

 

 

I want to note that if I sign up with a credit card, my request will be successful. I can assume that this is due to the mandatory parameters associated with a bank card. If I go to the subscription profile, then I see that when paying through paypal, this information is missing.

 

How do I change the cost of a subscription?

Login to Me Too
1 REPLY 1

Payflow_Todd
PayPal Employee
PayPal Employee

if you want to modify a PayPal transaction the tender needs to be "P" per the Recurring Billing guide.  Try that and if you are still having issues, contact Payflow support.

 

Payflow_Todd_0-1591680575390.png

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.