Hello to everybody.
I searched all the forum to try to solve my problem but I didn't find the answer.
My first problem was to use redirect plugin to get paypal payment; I solved it after a long search and many trials by chance. I did not understand wich parameters putting in the Extra fields Data of the plugin. Finally I discovered that you have to put these:
cmd=_xclick
business=your_paypal_email@whatever.com
item_name=blablabla
currency_code=EUR
amount=10.00 (or whatever amount)
return=http://www.yoursite.com
And the Target URL is: https://www.paypal.com/it/cgi-bin/webscr
(It seems to me that these parameters were not written in any post of the forum in a clear way... so hope this could help someone else...)
I then copied in "Field names from your form" all the field's names coming from the form.
But in paypal page after submitting the form and before confirming the payment I can only see the "item_name" wich is the same for all the transactions and I can't see the other fields coming from the form: infact the payment confirmation email that I receive from paypal does not contain any element (but the email address, name and item_name) that can help linking the submitted form data to the paypal record; someone infact could use one email/name to submit the data and other email/name to pay...
My questions now are:
1) how can I distinguish the transactions by using "item_name" (or other visible ID in paypal) as variable?
2) And how can I get people pay a different amount (coming from a form's field), so that also "amount" would be a variable?
I think I browsed all the forum finding some posts with similar question to mine but I did not understand the solutions
e.g. http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=9&t=15377
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=15873
I hope that someone could answer my questions possibly step by step 🙂 ... thank you in advance.
I searched all the forum to try to solve my problem but I didn't find the answer.
My first problem was to use redirect plugin to get paypal payment; I solved it after a long search and many trials by chance. I did not understand wich parameters putting in the Extra fields Data of the plugin. Finally I discovered that you have to put these:
cmd=_xclick
business=your_paypal_email@whatever.com
item_name=blablabla
currency_code=EUR
amount=10.00 (or whatever amount)
return=http://www.yoursite.com
And the Target URL is: https://www.paypal.com/it/cgi-bin/webscr
(It seems to me that these parameters were not written in any post of the forum in a clear way... so hope this could help someone else...)
I then copied in "Field names from your form" all the field's names coming from the form.
But in paypal page after submitting the form and before confirming the payment I can only see the "item_name" wich is the same for all the transactions and I can't see the other fields coming from the form: infact the payment confirmation email that I receive from paypal does not contain any element (but the email address, name and item_name) that can help linking the submitted form data to the paypal record; someone infact could use one email/name to submit the data and other email/name to pay...
My questions now are:
1) how can I distinguish the transactions by using "item_name" (or other visible ID in paypal) as variable?
2) And how can I get people pay a different amount (coming from a form's field), so that also "amount" would be a variable?
I think I browsed all the forum finding some posts with similar question to mine but I did not understand the solutions
e.g. http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=9&t=15377
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=15873
I hope that someone could answer my questions possibly step by step 🙂 ... thank you in advance.