Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 96
Likes: 1
G
Journeyman
Journeyman
G Offline
Joined: Aug 2006
Posts: 96
Likes: 1
What is the “auto return” URL we are suppose to use with PayPal for our subscriptions?
Attachments
B614815A-20CC-4F7E-BD2A-93617076BE15.png


I am a Superstar! Testing signature here
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
FROM: \templates\default\subscription_confirm.tpl

It looks like
Code
<input type="hidden" name="return" value="{$config.FULL_URL}/ubbthreads.php?ubb=subscription_process&thanks=thanks">
<input type="hidden" name="cancel" value="{$config.FULL_URL}/ubbthreads.php?ubb=subscription_process&cancel=cancel">

Though IIRC, the user should be sent back to the page they came from (see below), so the UBB.threads page can deal with the returned values of either;
"thanks" - thanks for the payment.
or
"cancel" - process was terminated or quit.

Knowing this, that return page would most likely be:
for Spider-friendly URLs - /ubbthreads.php/ubb/subscription_process
or
for Spider-friendly URLs - /ubbthreads.php?ubb=subscription_process

Last edited by isaac; 09/27/2019 12:33 AM. Reason: fix typos... round two.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Since its been over a year since I last updated this specific code, I've done some quick refresher-reading on the topic.

The PayPal developer docs says:
Quote
By default, auto return is disabled.
SOURCE: https://developer.paypal.com/docs/classic/admin/checkout-settings/#customize-the-checkout-experience

And IIRC, as of UBB.threads 7.6.2, the return URL is sent to PayPal at the time of the transaction request. When the PayPal transaction is finished, that URL is used along with the PayPal results.

Basically, there is no need to enable "auto return" (or anything special) on your PayPal account, other than having a PayPal Business account and allowing payments to be accepted.

Prior versions of UBB.threads (7.6.1 and older) required PayPal "auto return" to be enabled since that portion of UBB.threads remained unwritten, and the user would just be dumped in to either a PayPal "thank you" page with zero links on it, or they would be returned to a broken UBB.threads page where they needed to contact the forum admin to manually update the subscription.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Aug 2006
Posts: 96
Likes: 1
G
Journeyman
Journeyman
G Offline
Joined: Aug 2006
Posts: 96
Likes: 1
Thank you. I will turn their auto return setting to off and give that a try.

https://www.paypal.com/businessmanage/preferences/website


I am a Superstar! Testing signature here

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)