lasertits
Active member
I noticed this in the account_upgrade template, which appears to take care of sending Paypal the user's username and what account upgrade they bought:
<input type="hidden" name="item_name" value="{xenhrase account_upgrade}: {$upgrade.title} ({$visitor.username})" />
Ex:
Would it be possible to include another hidden custom input, whose value is a custom user field value?
Would it be as easy as duplicating that input and changing the value? Or do I need to edit some php code elsewhere too, perhaps in the payment callback?
I've setup my account upgrades to where people can't purchase unless they have their Steam ID tied to their account. Because of this I was hoping I could also get their Steam ID sent through the paypal payment, and it would show up in Paypal and the email notifications I receive about new upgrades, as seen in the screenshot above which currently only displays the account upgrade name, and their username.
If anyone has any idea on if this is possible and how I might go about it I'd appreciate it immensely. Thanks
<input type="hidden" name="item_name" value="{xenhrase account_upgrade}: {$upgrade.title} ({$visitor.username})" />
Ex:
Would it be possible to include another hidden custom input, whose value is a custom user field value?
Would it be as easy as duplicating that input and changing the value? Or do I need to edit some php code elsewhere too, perhaps in the payment callback?
I've setup my account upgrades to where people can't purchase unless they have their Steam ID tied to their account. Because of this I was hoping I could also get their Steam ID sent through the paypal payment, and it would show up in Paypal and the email notifications I receive about new upgrades, as seen in the screenshot above which currently only displays the account upgrade name, and their username.
If anyone has any idea on if this is possible and how I might go about it I'd appreciate it immensely. Thanks