Where do I modify what info is passed to the url when signing up? Right now, if a member signs up, and he happens to be member 1234... The url of his receipt will look like this: htttp://www.domain.com/amember/thanks.php?payment_id=1234 How do I have the url pass more info than just his payment-id? Specifically, I want it to pass price... Something like this: htttp://www.domain.com/amember/thanks.php?payment_id=1234?payment_price=30 Assuming the price was 30$ Any ideas?
I half-solved it... 1) I went into /plugins/paypal-r/paypal_r.inc... 2) And i found this line "$config[root_url]/thanks.php?payment_id=$invoice", 3) Changed it with this line "$config[root_url]/thanks.php?payment_id=$invoice?price_id=39", This worked well... When people buy, they get this url: htttp://www.gethotterwomen.com/members/thanks.php?payment_id=1234?price_id=39 HOWEVER... This always ends up producing "39" no matter how much the product the people bought is... What variable do I put instead of "39", so that its dynamically replaced with the actual price?
Well this is not necessary to modify paypal plugin, because you already have access to payment amount from thanks.html template: {$payment.amount}
Well the reason I have to edit paypal plugin is because this is the file that dictates what url people get, no? 1) Person goes to order form, fills in data 2) Gets redirected to paypal 3) Paypal redirects them to thanks page The url of the thanks page is dictated by which file?
Alexander, it didn't work... Here's what url it produced: htttp://www.domain.com/members/thanks.php?payment_id=116?price_id=Array.amount Instead of: htttp://www.domain.com/members/thanks.php?payment_id=116?price_id=39