ReDirect Url doesn't allow @ in business parameter to PayPal

juanra 13 Jun, 2012
Hello,

I'm using ReDirect URL to pass business parameter to PayPal sandbox. The URL is:

https://www.sandbox.paypal.com/cgi-bin/webscr

and the parameters (the email is not real) are:

[email]business=mailexample@gmail.com[/email]
cmd=_xclick
item_name={item_name}
amount={amount}

I get something like:

'Is not possible to process the request. Back to mailexample%40gmail.com and try with another option.'

How can I pass the at sign '@' into the URL or avoid to convert into %40? In few words, how can I fix it?

Thanks, any help would be appreciated.

Regards,

Jra
GreyHead 14 Jun, 2012
Hi Jra,

I don't think that the urlencoded email is the problem here. It has to be encoded to be passed in a URL and PayPal handles that without any problem.

Is your Sandbox payer account set up with a valid test credit card or cash balance?

Bob
juanra 15 Jun, 2012
Hi,

the Sandbox has been working ok until I used the ReDirect Url. Anyway I'm trying to buy the PayPal Redirect Trial and now I have another problem: I paid the license, I follow the instructions and then I found that there is no way and no option to finish the shopping process. There is all products ready to pick then up, but not mine, the PayPal one. It's paid but I haven't it, and I don't know how to do fix it.

Probably I missed some step in the shopping process. If there is a way to get the component that I paid for I will be very thankfull. I have my order number but I don't know what to do with it.

Thank you.

Jra
GreyHead 15 Jun, 2012
Hi Jra,

For any question about subscriptions or validation of any of the ChronoEngine products please contact Max directly by using the Contact Us form from the link above.

Bob
juanra 15 Jun, 2012
Thank you Bob, I sure I will.

Jra
mike11 25 Jun, 2012

I don't think that the urlencoded email is the problem here. It has to be encoded to be passed in a URL and PayPal handles that without any problem.

Bob



How do I do this? I have this same exact issue. How do I "encode" the email for it to be passed correctly? I even tried adding charset=UTF-8 in the params.

And yes, my Sandbox account is setup correctly. But this still doesn't work in Sandbox or regular mode.

Thanks,

Mike

**Update**

I think I did it! I went into the URL Redirect action in the administrator folder and changed all the way at the bottom the following:

it say: urlencode

I changed it to: urldecode

Bob, Is this an okay change or is it going to mess something else up??
GreyHead 26 Jun, 2012
Hi Mike,

Hmmm . . . Your change should be OK (but you'll need to re-do it when you upgrade ChronoForms). I still don't understand quite where the problem is but don't' have time to check right now :-(

BTW I upgraded my cURL [GH] action to make urlencoding an option. Using that might help, it's quite a lot more flexible than the standard cURL action.

Bob
This topic is locked and no more replies can be posted.