News:

Support the VirtueMart project and become a member

Main Menu

How to configure PayPal in VirtueMart 2

Started by jjk, April 18, 2012, 10:22:36 AM

Previous topic - Next topic

Maxim Pishnyak

Quote from: jhdesign on April 24, 2013, 22:17:49 PM
Support for this issue has been non existent for last 2 weeks.
Funny, regular forum members had support during last 2 weeks.
So ... where was you, jhdesign, during this time?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Payzen-raab

#31
Hello together, you can also use paypal by using the payment modul Payzen. within the modul you can fix every payment methode you want. if questions- ask us. This will be better than even paypal only in VM. and also have you so an backoffice for all payments done to your shop.


msminteractive

I have the same issue.  I am using Payflow Link and need to specify a URL for it to return to.  I put in: https://www.domain.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

All I get is a white page.

Can someone please help?!

lostmail

#33
Added a +3% Rule in Paypal config.

Whe i buy a product the +3% are only added to products Total but not Order total (including shipping) ?

What can i do that the +3% are added to Order total including shipping/tax ?



[attachment cleanup by admin]
VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

webpx

#34
I am using VM 2.0.20b and have problem getting redirected  back to my cart. The payment goes through fine but when it redirects back to the store I get a 403 page, the standard you're in the wrong place message joomla outputs. the weird thing is if I refresh the page, it transfers me back to the cart like its supposed to. Always the 403 page in between though.

This cart was migrated from version 1 and everything else seems to work ok outside of some log in issues at times for certain users. I've reinstalled the AIO component and made sure they are up to date. Here is the url that is output when directing back to the store.

https://domain.com/option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=b32d073&pm=1&Itemid=0

I've tried this with SEF turned on and off, no luck. I have played around with the paypal IPN settings with not luck as well. What URL should go in the IPN box in paypal? Should I be setting up a menu item in Joomla to redirect to?

Any ideas on what could be causing this? Also, I am using Joomla 2.5.11.

**** Resolved ****

I found that my Admin tools firewall was blocking the return url. I created an exception for the url and all is well now.

tomo11

Joomla 2.5.11
VM 2.0.20b

Just want to point out the following:
If your country is not supported by PayPal REST API but only Classic.
Just creating a business account in PayPal should work.
You may create/request API in "Selling Tools". but i'm not sure if that changes anything.

Hope this helps

Jessica28

Quote from: stuffdone on October 25, 2012, 20:59:43 PM
Okay...lots of words...no help.

In simple terms WHERE DO I PUT MY API information in PayPal?  I have it in my old site on Joomla 1.5 but now that I am updating to 2.5 I cannot find anywhere to enter the API information for PayPal payments.  The old site had PayPal pre configured waiting for my input. The new VM has no payment options at all until you create one but none of the instructions or configurations I can find include the fields for the API signature etc.

Can someone please just POST specific instructions to insert the PayPal API information?

Hi did you get any progress with this? I have the same problem and I don't understand what should I do, I read all the answers.. and nothing is helpful.
Can please someone help me with this.. it shouldn't be that hard..

solmab

Hi

In the old Paypal the shipping cost was passed to paypal separately - but in the new VM2 only the total is sent which is correct but wanted to check how to separate the shipping cost.  Is there a setting to separate the shipping cost in paypal?

Thank you

Tobes

Im not sure if this will help any of you, but I hope it does, as so far this thread didn't answer anyones questions.

1. yes the default paypal plugin does work with IPN
2. the return url is: index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived
3. the IPN url is http://www.yourwebsite.com/subdirectory/

if your website like mine is in a sub directory, the Paypal.php wont point your IPN to the correct place, after a lot of searching and messing around, I could see from the IPN history in the sandbox that the IPN was not pointing to my virtuemart directory.

The fix:

go to: plugins/vmpayment/paypal/paypal.php
on line 213 look for

JROUTE::_ (JURI::root () . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component')

add your sub directory like so

JROUTE::_ (JURI::root () . '/subdirectroy/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component')

And save your file, now try your purchase again, and see if this time the sale is confirmed, for me it was, and so after 4 hours of scouring these forums, I found the answer myself.

I hope this helps some people, and I hope one day Virtuemart gives proper directions to use the software, its a headache setting up Virtuemart

Good luck everyone

simbus82

Quote from: Tobes on July 23, 2013, 23:50:46 PM
Im not sure if this will help any of you, but I hope it does, as so far this thread didn't answer anyones questions.

1. yes the default paypal plugin does work with IPN
2. the return url is: index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived
3. the IPN url is http://www.yourwebsite.com/subdirectory/

if your website like mine is in a sub directory, the Paypal.php wont point your IPN to the correct place, after a lot of searching and messing around, I could see from the IPN history in the sandbox that the IPN was not pointing to my virtuemart directory.

The fix:

go to: plugins/vmpayment/paypal/paypal.php
on line 213 look for

JROUTE::_ (JURI::root () . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component')

add your sub directory like so

JROUTE::_ (JURI::root () . '/subdirectroy/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component')

And save your file, now try your purchase again, and see if this time the sale is confirmed, for me it was, and so after 4 hours of scouring these forums, I found the answer myself.

I hope this helps some people, and I hope one day Virtuemart gives proper directions to use the software, its a headache setting up Virtuemart

Good luck everyone

Good luck, you are right. :-( today simple vm install for a 4 product site with paypal. Nothing is working.... :-(
Joomla! 2.5.16 & VM 2.0.24b

Maxim Pishnyak

#40
Quote from: Tobes on July 23, 2013, 23:50:46 PM
I could see from the IPN history in the sandbox that the IPN was not pointing to my virtuemart directory.
I'm sure IPN history definitely works. Did you check it, simbus82?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

alatak

Hello
I have fixed the IPN in case the website is in a directory, and not a domain or subdomain.

the notify url is this one:

"notify_url"       => substr(JURI::root(false,''),0,-1) . JROUTE::_('index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component', false),


Tobes

#42
Quote from: alatak on July 25, 2013, 19:40:12 PM
I have fixed the IPN in case the website is in a directory, and not a domain or subdomain.

Hi Alatak, thanks very kind of you, Im wondering if you could do me a favour and have a look at my thread http://forum.virtuemart.net/index.php?topic=117469.0, because im wondering if my issue is something similar to this problem in this thread, and I think you might know whats up.

Same problem, my subdirectory is not noticed, is it also the paypal.php file?

Thank You

lordimac

#43
Hi,
where do you enter the Return URL? Do I need to register an PayPal App for this?

I did the following:

I have an personal PayPal Account for many Years now and logged in to the Developer Portal. I created two Sandbox Accounts (Shop/Business and Customer/Personal).

In my VM PayPal Settings I entered the Business Sandbox PayPal Address to both Fields, because we have to create the Live-Business Account later.

Generally it works, I make an order, processing to PayPal and make the Payment. After this I get an E-Mail from VM with the Status "Unconfirmed". When I login now to the PayPal Sandbox I can manually Confirm or Refuse the Payment. Is it like this? Why doesn't it automatically confirm the Payment? Is this an Sandbox Issue/Normal?

My Project is not running anymore inside an Folder because of the known Problem with the Path.

Thank you!

edit: Nevermind ... Payment review was turned on. :(

ssc3

#44
If you have problems with PayPal Standard, you could try the free PayPal Express Checkout plugin
which can be used as a direct replacement for PayPal Payments Standard.

PayPal Express Checkout is now free and fully working with no restrictions.

It has the advantage of a year of debugging and development behind it,
having been run on numerous websites. So it is quite stable.

http://forum.virtuemart.net/index.php?topic=104184.0

Others are releasing there own versions of this plugin very soon,
so you will this will give you a choice.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk