How update the plan, once it is set to active.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created plan and added it to billing agreement. In future I will need update this Plan (change price). I tried do it (plan.Update()), but i got error: {"name":"BUSINESS_VALIDATION_ERROR","details":[{"field":"validation_error","issue":"Invalid Path provided."}],"message":"Validation Error.","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#BUSINESS_VALIDATION_ERROR","debug_id":"35c8f62320ea5"}. How can i do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm not sure whether you understood. But I give the following information for you:
I am using next example for update billing plan: https://github.com/paypal/PayPal-NET-SDK/blob/develop/Samples/Source/BillingPlanUpdate.aspx.cs .And i found next information too http://stackoverflow.com/questions/29631597/paypal-rest-api-update-billing-plan-return-url, and next comment explain why i can't update my billing plan: "You cannot update the plan, once it is set to active. The reason for that restriction is that because there could be possible agreements based on that plan, modifying it would affect the already agreed billing agreements.....Alternatively, you could possibly create a new plan, and use that instead." . Does exist other way for update current billing plan? I don't want crate a new plan, and use that instead my current plan.
RequestUri:
{https://api.sandbox.paypal.com/v1/payments/billing-plans/P-41023143HP107945GG6TH2RY}
Response:
{"name":"BUSINESS_VALIDATION_ERROR","details":[{"field":"payment_definitions","issue":"patch is not supported for this field."}],"message":"Validation Error.","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#BUSINESS_VALIDATION_ERROR","debug_id":"3072..."}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Olexandrman,
Can you let me know what you are trying to update?
When a plan is updated, it may require the buyer's permission depending on what has to be updated. (actually in most cases)
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am having the same problem. I would like to update two merchant preferences: max_fail_attemps (from 3 to 1) and initial_fail_amount_action (from CONTINUE to CANCEL).
I've tried to do that using the PATCH endpoint with the following body:
{ "op": "replace", "path": "/merchant_preferences", "value": { "max_fail_attempts": "1", "initial_fail_amount_action": "CANCEL" } }
But I've got the same error response (owing to an active plan, I can't update it...). I don't understand because in this case they are merchant preferences so they're not directly related to the buyer...
I hope that someone helps me as soon as possible.
Thank you so much in advance!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- changing prices on paypal buttons in PayPal Payments Standard
- How can I have orders marked as shipped in Shopify be updated as shipped in PayPal? in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Buttons and Links Error in PayPal Upgrade Community
- Created subscription failed to activate after few hours in Sandbox Environment