Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 52 guests, and 194 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
JAISP
JAISP
Pennsylvania
Posts: 1,335
Joined: February 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 15
isaac 9
SteveS 9
Ruben 6
Morgan 5
jorb 4
Jake 1
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Subscription Pending Auto Update to Active #260940
01/18/18 09:04 AM
01/18/18 09:04 AM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
I am not sure how it is suppose to function as I have always had to manually activate the subscription. Is the Paypall Subscription process suppose to auto update once the payment is made to our PayPall account? What am I doing wrong if it is not auto updating?

Attached Files 53A9AB2D-E851-4F0C-A61E-E0F3E145852B.jpegA93C448D-7A0B-4C80-89EF-C3E59A148949.jpeg

I am a Superstar! Testing signature here
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260941
01/18/18 09:12 AM
01/18/18 09:12 AM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
Also, is the board suppose to set the subscription date end to subscription period in subscriptions group setting? In our case, one year. Did it not because it did not get notification from PayPal payment was made (Payment was successful yesterday the 17th)?

Is it suppose to also auto expire it if not renewed? The manual activations did not auto expire but always assume it was because I had to manually activate as never auto activates.

NOTE: Would be nice to change what happens if the transaction fails to authenticate with PayPal. Right now it deletes after 24hrs. Instead change the Pending to Failed

Attached Files 285DF8E0-162B-464E-9D8E-4B81E0037843.png
Last edited by Geoff; 01/18/18 12:56 PM. Reason: Added NOTE

I am a Superstar! Testing signature here
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260942
01/18/18 01:24 PM
01/18/18 01:24 PM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,235
California
After a user finishes their transaction with Paypal, they should be returned back to your website. If they are not, their subscription status will remain as "Pending." The entire process needs to be complete, for the status to be updated.

UBBT subscription page @ your forum
v v v v
Paypal payment @ paypal dot com
v v v v
UBBT subscription confirmation @ your forum

If the user stops at the second step, or closes the browser window, or sits there and lets the Paypal page time-out, then they have never returned to your forum to send it a "success" update. And your forum still sees the process as "pending."


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.6.2 Released
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260943
01/18/18 01:52 PM
01/18/18 01:52 PM
Mark S  Offline
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
I have had strange outcomes when using a manual setting. This could be when the whole subscription was created manually, maybe because of a cash payment thank you very much.

Strange outcome being it hasn't expired and I've realised a lot later on.. Similar about a year or so.

I think I've updated my language files to inform users to say a faild subscription will sit for 24hrs and that is normal.

New subscriptions seem to work fine and auto renewals.

It does seem to be the manual side that fails now and then.

Im not sure why yours would not convert to active.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: Subscription Pending Auto Update to Active [Re: isaac] #260944
01/18/18 04:57 PM
01/18/18 04:57 PM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
Quote
UBBT subscription confirmation @ your forum


I have never had one activate on its own. They usually just vanish from the subscription page. What could be the issue?


I am a Superstar! Testing signature here
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260945
01/18/18 05:07 PM
01/18/18 05:07 PM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
Figured it out by subscribing myself. Missing:

scripts/sub_thanks.inc.php

Will need to go look at the install folder, find, and upload the missing file when I get home.

Attached Files C6B6DC8F-A523-4BCB-B7FC-62AEEA40B26B.jpeg
Last edited by Geoff; 01/18/18 05:10 PM. Reason: Replaced screen shot

I am a Superstar! Testing signature here
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260946
01/18/18 05:27 PM
01/18/18 05:27 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
If you look at the HTML form on the subscription donation page you'll see that the PayPal return URL is ubbthreads.php?ubb=paypal_ipn
Code
<input type="hidden" name="notify_url" value="{$config.FULL_URL}/ubbthreads.php?ubb=paypal_ipn" />


On the reoccurring subscription it has three URLs (sub_thanks.inc.php, sub_cancel.inc.php, paypal_ipn.inc.php):
Code
<input type="hidden" name="return" value="{$config.FULL_URL}/ubbthreads.php?ubb=sub_thanks" />
<input type="hidden" name="cancel" value="{$config.FULL_URL}/ubbthreads.php?ubb=sub_cancel" />
<input type="hidden" name="notify_url" value="{$config.FULL_URL}/ubbthreads.php?ubb=paypal_ipn" />


The paypal_ipn.inc.php script which receives the return status from PayPal, and all of the supplied order details, and updates the database.

IIRC the thanks script simply publishes a notation thanking the user for their order.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Subscription Pending Auto Update to Active [Re: Gizmo] #260947
01/18/18 07:23 PM
01/18/18 07:23 PM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
Quote
On the reoccurring subscription it has three URLs (sub_thanks.inc.php, sub_cancel.inc.php, paypal_ipn.inc.php)


Thank you for the details as it explains the process without having to dig into the scripts. I will also look to make sure the other two files are not missing from the script folder. Some how it looks like at least one of them is missing.


I am a Superstar! Testing signature here
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260948
01/18/18 07:31 PM
01/18/18 07:31 PM
G
Geoff  Offline OP
Journeyman
Joined: Aug 2006
Posts: 92
Florida
Quick look from my phone, it looks like I am missing two of the three files from the scripts folders. I will look at the 7.6.1 folder on my computer when I get home tonight.

Attached Files 2996F3E7-9197-46C8-A27B-03EF98739DD0.png

I am a Superstar! Testing signature here
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260949
01/18/18 11:06 PM
01/18/18 11:06 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
Hmm, it would appear that, where I thought this had been fixed previously (in 2012 SD discussing it being fixed in a release, which coudln't have been 7.6 since he wasn't a part of the project, and its recent), it would appear that the sub_thanks.inc.php and sub_cancel.inc.php files still haven't been supplied with a release (when they should have been included with the base PayPal coding added in v7.3 by Rick).

Isaac and I spent some time today with the PayPal API code and testing newer coding for a future release.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Subscription Pending Auto Update to Active [Re: Geoff] #260950
01/19/18 06:49 AM
01/19/18 06:49 AM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,235
California
I've spent several hours today (after my day job) writing the necessary code and updating the PayPal API to work as expected. Also added the upgrades for http/1.1 which PayPal will make mandatory come June 2018. In addition, did a few more updates to the subscription pages within the Control Panel to add some expected buttons and behaviors.

Unrelated, I updated much of the missing UBBCentral site secondary files from their 2009 versions, to the current style, and converted a lot of inlined html styling to css. This is keeping in line with the massive "house cleaning" of invalid html that was cleaned up September of last year.

Also working on Gravatars for improved anonymous posting, "sent mail" logging, and admin log filtering.

Giz has been working on code for updating the stored file size data of attached files listed within the database, and a few other related ubbt items.

So it's been quite busy on this side.

Thanks to everyone who has left feedback and upgrade reports. You guys are doing an awesome job!

-isaac


PS, don't feed Gizmo after midnight.

Last edited by isaac; 01/19/18 07:00 AM. Reason: a few words

isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.6.2 Released

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Private Message, Opt out of conversation
by jorb. 12/04/18 10:11 PM
Disable IP display in Who's Online?
by Baldeagle. 11/29/18 09:05 PM
Permissions problem
by Baldeagle. 11/25/18 09:44 PM
Reddy Kilowatt
by SteveS. 11/20/18 08:30 AM
testar
by Morgan. 11/18/18 02:33 PM
Forum Statistics
Forums36
Topics35,172
Posts191,642
Members12,117
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2