Hi, when a user submits a payment form on my site I need to populate two variables $comment1 and $comment2 with the values of other information the user supplied but I'm unsure how to accomplish this in Drupal so that those variables get sent to PayPal.
So, for example, a user enters their name in the checkout form and their organization in another field. When the user submits the form to paypal for payment processing we want the
$comment1 field to get their
$organization value and for the
$comment2 field to get their
We want these to be sent to PayPal along with all the other information that gets sent to PayPal because the PayPal manager can read and utilize values in variables called
My question is, what's the best way to accomplish this?
I assume it involves hooking into and changing some code in a function in the contributed module somewhere. Any guidance is appreciated.