[JS SDK] When I revise subscriptions the price shows incomplete
foxit-developer
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
May-30-2023
09:30 PM
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) {
}
});
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
But actually the plan looks like this:
There is a special offer for the first two installments.
This leaves us wondering how to solve this problem.
1 REPLY 1
foxit-developer
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun-07-2023
10:26 PM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Subscription Status Immediately Updates to New Plan Despite Payment Scheduled for Next Billing Cycle in NVP/SOAP APIs
- setup_fee is ignored when subscription is revised in REST APIs
- Sandbox: Revise subscription returns success but subscription not modified? in REST APIs
- How to tell if a customer subscribed as a guest or a paypal member in REST APIs
- [JS-SDK] Trying to upgrade a subscription with a prorata charge, but still can't understand how in SDKs