VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: tcuttrissweb on March 08, 2012, 18:41:34 PM

Title: PayPal Return to site and update user access
Post by: tcuttrissweb on March 08, 2012, 18:41:34 PM
For our site we are looking to have users pay for a members only area. When they add the product to their cart, click checkout and are taken to paypal to pay all is fine. However after the payment is made, 2 things need to happen.

1) They need to be automatically returned to the website
2) Upon return to the site, they receive the thank you for your order page which is fine, but I need a way to update their Joomla access to a preconfigured value so as to allow them access to the restricted content they've now paid for.
Title: Re: PayPal Return to site and update user access
Post by: alatak on March 09, 2012, 18:22:22 PM
Hi,

Quote1) They need to be automatically returned to the website
This is a  parameter that you have to set in your paypal profile account.
Title: Re: PayPal Return to site and update user access
Post by: tcuttrissweb on March 09, 2012, 19:18:57 PM
Thanks.

My question I guess is where? As Vrituemart seems to have its own custom programmed interaction with PayPal, my PP account doesn't have a Website Payments Standard or Pro setup. Normally that is where you'd setup the return URL and actions to take no?

Thanks again for your help.
Title: Re: PayPal Return to site and update user access
Post by: alatak on March 09, 2012, 19:38:45 PM
Hi,

I meant in your Paypal account, not in Virtuemart.
I don't know exactly where.
Title: Re: PayPal Return to site and update user access
Post by: tcuttrissweb on March 09, 2012, 20:48:19 PM
Yeah that's where I'm having an issue. Because virtuemart seems to have some independant programming configured for it's interaction with your PayPal account, it doesn't use PayPal's Website Payments (Standard or Pro) for this it seems. And that is where you would go to set that return url up. Those tools help you configure a specific payment button for your site that perfoms its own independant functions when clicked and processed.

What I need to accomplish here is to have the system accept a payment for a subscription purchased through the virtuemart store on our site, process that payment, and then grant them the access they need to the restricted sections of our site this subscription service enables.

Likewise, another product we are offering is a downloadable. As VM2 doesn't offer downloadable product support at this time, I need to develop my own. That's again where this control comes in. I need to bring store customers to a custom page on our site that processes everything.

In short:
So essentially I need to redirect them after their payment has been processed to an internal processing page that I need to code up. All this because VM2 lacks these features. Otherwise, it's pretty damn good in my opinion.
Title: Re: PayPal Return to site and update user access
Post by: jenkinhill on March 09, 2012, 21:47:19 PM
VM2.0.2 does offer download support - you just need the right plugin. See http://virtuemart.cloudaccess.net/extensions-virtuemart-2/shipment-for-virtual-products-detail

Title: Re: PayPal Return to site and update user access
Post by: tcuttrissweb on March 09, 2012, 22:18:19 PM
That would be sweet. If it were no a paid plugin, and more importantly if it supported Joomla 2.5.