Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Dec 2017, 01:31
addamroy addamroy is offline
 
Join Date: Sep 2010
Direct Link to A Paid Subscription

I'm trying to find a way to connect an Add to Cart button to a paid subscription... (Using Paypal.)

It's surprising that this isn't possible by default.

I'm trying to bypass the paid subscriptions page as it's just an extra unneccessary step that's definitely effecting sales.

Peeking at the source code of the Paid subscriptions pages makes it look like it "should" be fairly simple but anything outside of HTML is beyond my expertise so I was crossing my fingers that somebody here would be able to help out!

Long story short, it would be lovely to display a link or a button in some desired location on the forum (like a promotional thread, a custom vb page, ad location, forum sidebar block etc).

I would be ETERNALLY grateful if there was a fix out there for this.

Thanks in advance!

Adam.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #2  
Old 23 Dec 2017, 20:53
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

So then do this:
  • Install Cartplog.
  • Redirect the subscriptions page to a category in cartplog housing the subscriptions you've added as products. *Only adding them so they're listed, you're going to change the template code next*.
  • Change the button code so it subs out the cartplog product so you're actually signing up for a subscription, Paypal should handle the rest and then the subscriptions in vB will do the last part.

Basically you're using Cartplog but only as a container space for your different subscriptions, you're tricking the button in the template by modifying the code so when they click to buy the subscription the rest is handled by the vBulletin subscriptions system and paypal. Cartplog won't be used for purchasing at all per say but there to help you achieve what you want.

Edit: Ahh I may have overthought your initial inquiry... in PayPal there is an area where you can generate buttons and copy/paste the corresponding html code onto your website - that might be what you're looking to do here truth be told just read my above reply and you'll know which is the right way for you.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #3  
Old 26 Dec 2017, 21:15
addamroy addamroy is offline
 
Join Date: Sep 2010
Originally Posted by TheLastSuperman View Post
So then do this:
  • Install Cartplog.
  • Redirect the subscriptions page to a category in cartplog housing the subscriptions you've added as products. *Only adding them so they're listed, you're going to change the template code next*.
  • Change the button code so it subs out the cartplog product so you're actually signing up for a subscription, Paypal should handle the rest and then the subscriptions in vB will do the last part.

Basically you're using Cartplog but only as a container space for your different subscriptions, you're tricking the button in the template by modifying the code so when they click to buy the subscription the rest is handled by the vBulletin subscriptions system and paypal. Cartplog won't be used for purchasing at all per say but there to help you achieve what you want.

Edit: Ahh I may have overthought your initial inquiry... in PayPal there is an area where you can generate buttons and copy/paste the corresponding html code onto your website - that might be what you're looking to do here truth be told just read my above reply and you'll know which is the right way for you.
Hey Superman thanks for chiming in!

I'll have to look into cartplog and see what that's about.

I currently have a custom button in Paypal that can of course I can plop anywhere in the forum, the problem is that there's no way to integrate the Paypal button, or any kind of button with the forum so whoever purchases the product their usergroup is updated.

The link/button would have to somehow load and send the applicable data into the button code (whatever username/product id variables vb sends to Paypal) to be sent back via api after the sale.

We just want to cut that paid subscriptions page out of the picture. User clicks "buy button" and goes straight to the payment processor like a normal sales process.

I'm going to investigate cartplog now and see what it does.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #4  
Old 26 Dec 2017, 22:25
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Originally Posted by addamroy View Post
The link/button would have to somehow load and send the applicable data into the button code (whatever username/product id variables vb sends to Paypal) to be sent back via api after the sale.

We just want to cut that paid subscriptions page out of the picture. User clicks "buy button" and goes straight to the payment processor like a normal sales process.
You can modify this, you can also edit the database and change any auto-increment product id's to the # you wish that would match a particular # in the button code such as subscription/product id # as well. So there is still a wayt o use this even if you don't see it or understand right now . Chime back in when you have installed and fiddled with it and have a working button code, post the paypal button code here for review and I'll help as best I can, time permitting etc.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:04.

Layout Options | Width: Wide Color: