[SOLVED] Is it possible to use different gateway behaviours for different plans?

3 years 10 months ago #318985 by krileon
I'm not seeing any issues with your site in my tests. Both single payments and recurring payments seam to be sending to PayPal without any error.

Please contact PayPal as the error you're getting makes no sense to their documentation. The error code DEPRECATED_PARAM_MODIFY doesn't even exist in their documentation. This seams to be an intermittent issue on their end. Seams like the deprecation of modify=0 was entirely a mistake though. The below is the only other link I've found with same issue and seams to have came to the same conclusion.

forums.wpsharks.com/t/buttons-stopped-working-deprecated-param-modify/7642/15

If this happens again remove the following line of code. Until we know what the heck PayPal is trying to do here we can't officially implement any kind of fix. Our implementation is in line with their documentation and until it says to stop sending modify=0 we'll have to keep sending it.

IN: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php
ON: Line 266
FROM:
'modify'		=>	'0',
TO:
//'modify'		=>	'0',

I do not recommend making this change unless absolutely necessary as we don't know what it could break by not sending it as it's intended to be sent with recurring payments to enable creating new subscriptions.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: JerryK132

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.156 seconds

Facebook Twitter LinkedIn