[JS SDK] When I revise subscriptions the price shows incomplete

foxit-developer
Contributor
Contributor

I used the js sdk to revise the subscription.

the code is:

Spoiler
 paypal.Buttons({
createSubscription: function(data, actions) {
return actions.subscription.revise(sub_id, {
"plan_id": plan_id,
"custom_id": custom_id,
});
},
onApprove: function(data, actions) {

}
});

The ui that pops up shows

1.png

 

But actually the plan looks like this:  

2.png

 

There is a special offer for the first two installments. 

This leaves us wondering how to solve this problem.

 

 

 

 

Login to Me Too
1 REPLY 1

Haven't Found your Answer?

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