Multi regular billing cycles issue for subscription plan
Fitemos
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-27-2020
02:19 PM
When I created subscription plan with one regular billing cycle. I succeeded.
But if the plan has multi regular billing cycles, I failed.
$billingCycles = [
[
"frequency" => [
"interval_unit" => 'MONTH',
"interval_count" => 2,
],
"tenure_type" => "REGULAR",
"sequence" => 1,
"total_cycles" => 1,
"pricing_scheme" => [
"fixed_price" => [
"value" => 10,
"currency_code" => "USD",
],
],
],
[
"frequency" => [
"interval_unit" => 'MONTH',
"interval_count" => 2,
],
"tenure_type" => "REGULAR",
"sequence" => 2,
"total_cycles" => 0,
"pricing_scheme" => [
"fixed_price" => [
"value" => 12,
"currency_code" => "USD",
],
],
],
];
error messsage is The requested action could not be performed, semantically incorrect, or failed business validation.
debug_id:"7bf0e1d697fa2",
"details":[{"field":"/billing_cycles","location":"body","issue":"MULTIPLE_REGULAR_BILLING_CYCLE_NOT_SUPPORTED","description":"Only one regular billing cycle is allowed."}]
Would you please help me?
Labels:
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.
Related Content
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- I want to implement subscription functionality. in REST APIs
- Automatically change price of all existing subscriptions? in PayPal Payments Standard
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- Simple Paypal button integration results in 404 error in Sandbox Environment