Plan names with a colon not correctly parsed in CBSubs

7 years 5 months ago - 7 years 5 months ago #287691 by poml
EDIT: Forget about this at the moment. I think I found a mistake in my setup.

Hi, I am using the latest version of all software.

I noticed in CBsubs that a colon in a plan name is not working correctly. For Example I have a plan called

Addon: Donation

I try to explain what is happening:

Being logged in, and going to the page where I see my "possible upgrades", I see this plan, but it appears only as "Donation", the "Addon: " is missing.
I select the plan.
I go to the payment options. My basket is listing only "Donation".
I select Paypal. I log into Paypal, my item to pay is still "Donation".
I successfully pay the item by PayPal.
I get redirected to my site and get the following error:
PayPal failed, because of a detected "Fraud attempt".
In the notification's raw data I see something like: "currency, item name or number or quantity mismatch: IPN item_name (Donation) does not match basket item_name (Addon: Donation) nor their trimmed sizes for IPN (Donation) and basket (Addon: Donation)

Coming back from PayPal (also if I cancel the payment) my basket suddenly contains the correct item "Addon: Donation". And the payment fails.

It used to work with CBSubs 3.0.

Is there a fix?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.325 seconds

Facebook Twitter LinkedIn