Forums

Paypal Plugin Doesn't Work

kecker 01 Mar, 2012
Paypal Plugin doesn't work, because it doesn't accept an item name and it doesn't use the amount properly.

I have two hidden fields in my form. One "myr_membership" which has a value of "MYR Membership". Another "membership_cost" which has a value of "30.00".

In the Paypal Plugin:
For the Item name field(*) I entered "myr_membership"
For the Amount field(*) I entered "membership_cost"

Then I tested it out and it didn't work. When I get to the Paypal page is doesn't show what the item is and it shows an amount of $60.00.

I used the debug option to look at the link it's using. It's generating the following:
https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=temp%40gmail.com&no_shipping=1&no_note=1&return=http%3A%2F%2Fwww.mysite.com¤cy_code=USD&item_name=&amount=60&first_name=&last_name=&address1=&address2=&city=&state=&zip=&country=&night_phone_a=&


What it SHOULD be generating:
https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=temp%40gmail.com&no_shipping=1&no_note=1&return=http%3A%2F%2Fwww.mysite.com¤cy_code=USD&item_name=MYR%20Membership&amount=30&first_name=&last_name=&address1=&address2=&city=&state=&zip=&country=&night_phone_a=&
GreyHead 02 Mar, 2012
Hi kecker,

I assume that you are using ChronoForms v4?

The PayPal action that comes pre-installed is a 'Trial' version that randomises the amount.

Not sure what the problem is with the item_name; I suggest that you double check that the entry exactly matches the form input name and has no spaces, quotes or brackets round it.

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