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.

Recurring Billing Profile (Pay with credit or debit card)

 
 

Recurring Billing Profile (Pay with PayPal)

Selection_142.png

Recurring Billing Profile (Pay with credit or debit card)
Selection_143.png
Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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