chipperfield
New Member
My first post - so just wanted to say 'great product and great forums' first. Hope you can help me.
I have a form which submits customer details to paypal - without creating a joomla user. I want paypal to have the customer shipping details same as if they had clicked a 'buy now' paypal button, since otherwise they have to enter the same details again to pay by card.
So I have set the Paypal plugin paraeters to get all the shipping details from the form fields, but it then requires a joomla user id before it adds these to the Paypal [opts]. What I need is simply to add the details for the customer entered on the form onto the paypal query string using normal paypal html variables.
I can force it to do what I want by forcing the rowid from the form into the shipping query at line 218 of paypal.php, but there must be a better way. This is my addition:
/* user id forced to row id of form record in db GWTC 2013-04-10 */
$shipping_userid = $formModel->_formData['id'];
.....
if ($shipping_userid > 0)
{
Any ideas?
Thanks
Giles
I have a form which submits customer details to paypal - without creating a joomla user. I want paypal to have the customer shipping details same as if they had clicked a 'buy now' paypal button, since otherwise they have to enter the same details again to pay by card.
So I have set the Paypal plugin paraeters to get all the shipping details from the form fields, but it then requires a joomla user id before it adds these to the Paypal [opts]. What I need is simply to add the details for the customer entered on the form onto the paypal query string using normal paypal html variables.
I can force it to do what I want by forcing the rowid from the form into the shipping query at line 218 of paypal.php, but there must be a better way. This is my addition:
/* user id forced to row id of form record in db GWTC 2013-04-10 */
$shipping_userid = $formModel->_formData['id'];
.....
if ($shipping_userid > 0)
{
Any ideas?
Thanks
Giles