Hi all,
This seems like a dumb question to me, but I can't figure it out.
I have a data table that includes the business paypal email account and the 3 letter currency code that is sent by the "Paypal Redirect" event. However I want to use the fields from my table in that event not constant values. Is this possible?
Would I use the curly brackets {paypal_email} ?
OR
Would I use the <?php echo $form->data['paypal_email'] ?> which is already in my data stream?
Thanks in advance for your help.
MrFitz
BTW.. in the "Paypal Redirect" screen it mentions "Your 2 characters currency code" when all PayPal currency codes are 3 capital letters (USD). I thought you might want to fix this.
UPDATE--------------
If I use curly brackets I get this on a paypal page
If I use this <?php echo $form->data['paypal_email'] ?>, I get this on a paypal page.
So neither works, which means that HAND CODING is required when moving a module to a different site with a different owner who has a different email address.
Kinda kills the modularity (OOPS!)
SOLVED!!!!!!!!!!!!!!!!!!!!!
OK, finally figured it out!
If you leave the paypal address BLANK on the "Settings" page it can then be added as a variable on the "Fields" tab in the "Extra Fields" section, in fact any info you remove from the settings page can be added as variables in the "Extra Fields" section.
MrFitz
This seems like a dumb question to me, but I can't figure it out.
I have a data table that includes the business paypal email account and the 3 letter currency code that is sent by the "Paypal Redirect" event. However I want to use the fields from my table in that event not constant values. Is this possible?
Would I use the curly brackets {paypal_email} ?
OR
Would I use the <?php echo $form->data['paypal_email'] ?> which is already in my data stream?
Thanks in advance for your help.
MrFitz
BTW.. in the "Paypal Redirect" screen it mentions "Your 2 characters currency code" when all PayPal currency codes are 3 capital letters (USD). I thought you might want to fix this.
UPDATE--------------
If I use curly brackets I get this on a paypal page
Return to {gcent_paypal}
At this time, we are unable to process your request. Please return to {gcent_paypal} and try another option.
If I use this <?php echo $form->data['paypal_email'] ?>, I get this on a paypal page.
Return to <?php echo $form->data['paypal_email'] ?>
At this time, we are unable to process your request. Please return to <?php echo $form->data['paypal_email'] ?> and try another option.
So neither works, which means that HAND CODING is required when moving a module to a different site with a different owner who has a different email address.
Kinda kills the modularity (OOPS!)
SOLVED!!!!!!!!!!!!!!!!!!!!!
OK, finally figured it out!
If you leave the paypal address BLANK on the "Settings" page it can then be added as a variable on the "Fields" tab in the "Extra Fields" section, in fact any info you remove from the settings page can be added as variables in the "Extra Fields" section.
MrFitz
This topic is locked and no more replies can be posted.