Customizing SMF > SMF Coding Discussion

Custom Payment Complete/ thank you page after a subscription

(1/1)

manny123:
Custom Payment Complete/ thank you page after a subscription

How can I redirect to a different page then the default Payment Complete page? I want users to go to my custom thank you page. I entered a thank you page in my paypal to send all users to after a payment  however the forum overrides it.

manny123:
I figured it out change this line


--- Code: --- $return_data['hidden']['return'] = $return_url;
--- End code ---

to


--- Code: ---$return_data['hidden']['return'] = $boardurl . '/thankyou.php';
--- End code ---

then make sure the path to the thankyou.php page is your forumurl/thankyou.php

In file Subscriptions-Paypal.php in the sources folder

Navigation

[0] Message Index

Go to full version