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


Geoff — First Generation Firebird (firstgenfirebird.org), online since 1996
UBB.threads 8.0.1 · PHP 8.4 · MySQL 5.7
Joined: Apr 2004
Posts: 2,033
Likes: 177
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 2,033
Likes: 177
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: UBB.threads 8.0.1 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 2,033
Likes: 177
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 2,033
Likes: 177
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: UBB.threads 8.0.1 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Aug 2006
Posts: 101
Likes: 3
G
Member
Member
G Offline
Joined: Aug 2006
Posts: 101
Likes: 3
Thank you. I will turn their auto return setting to off and give that a try.

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


Geoff — First Generation Firebird (firstgenfirebird.org), online since 1996
UBB.threads 8.0.1 · PHP 8.4 · MySQL 5.7

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 298 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)