News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Paypal and VM 3

Started by dmb, March 21, 2016, 17:49:25 PM

Previous topic - Next topic

dmb

VM 3.0.14/Joomla 3.4.8

Planning to take a new site live this weekend with the above combination. I can find lots of info about how to Paypal IPN on VM2 but nothing for 3 - are there any changes I need to consider ? Can I set the IPN return URL to http://www.yousite.xyz/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component as in VM2 ?

Also, how can I edit the page that is shown when people return to my site ?

Thanks for any help,

David

GJC Web Design

IPN is handled by the plugin -- u need to do nothing

return display is formed in plugin and over ride components\com_virtuemart\views\cart\tmpl\order_done.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dmb

Perfect .. it seemed to work fine with the sandbox but I wasn't sure if I needed to do anything special with the live service.

I'll play with overriding the order_done.php - as a matter of interest is there anywhere that describes where to put override files ? Even though I've created a dozen or so, I always end up working out the directory to put them in through a process of trial and error ...

Thanks again,

David

jenkinhill

All VM view tmpl files can be used as overrides when placed in eg templates/[yourjoomlatemplate]/html/com_virtuemart/category/   (if for category layout)  or templates/[yourjoomlatemplate]/html/com_virtuemart/sublayouts/  (for sublayouts)

http://docs.virtuemart.net/tutorials/33-templating-layouts.html
http://www.ostraining.com/blog/joomla/overrides 
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dmb

Thanks for that Kelvyn, cleared up a lot of questions for me !

Just to double/triple check - my old site has a return URL set on Paypal that points to a simple article which says "Thanks for your order, log in to Paypal to see details yadda yadda". I'm assuming from the discussion above that the payment confirmation is sent from Paypal to the plugin, which updates the order status and then forwards to that return URL ?

The only think that's slightly spooked me is that I see something called Payment Data Transfer is also enabled on our Paypal account, with an identity token, but I don't see anywhere in the VM configuration (old or new) that uses this so I'm not sure if it's being used or not.

Cheers,

David