VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: jjk on April 18, 2012, 10:22:36 AM

Title: How to configure PayPal in VirtueMart 2
Post by: jjk on April 18, 2012, 10:22:36 AM
Configuring PayPal in VirtueMart 2 is easy!

1. In VM2 administration menu go to 'Shop' - 'Payment Methods'
2. Select "New" from the top menu.
3. Give it a name, i.e. "PayPal", set the checkbox to 'Published' = "Yes", select "VM-Payment, PayPal" in the dropdown list and click on 'Save'.
4. Now go to the second tab and configure your PayPal payment method. For testing you need to enter at least a PayPal payment (test-customer) email and a test-merchant (Sandbox) email.
5. Save your PayPal payment method configuration.

...that's the easy part.
(There also is some information about this in our Wiki at: http://dev.virtuemart.net/projects/virtuemart/wiki/VM2_Shop_Menu (http://dev.virtuemart.net/projects/virtuemart/wiki/VM2_Shop_Menu) - Scroll down to "VM Payment PayPal - Payment Information Tab"

6. The more difficult part now is configuring your account at PayPal as described here in PayPal's sandbox (testing) tutorial:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_testing_sandbox (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_testing_sandbox)

An example which demonstrates the current (free) type of PayPal integration into VM2 is on this PayPal page:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_cart_upload (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_cart_upload)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: stanko91 on April 23, 2012, 14:07:46 PM
Hey.. i have the problem that i don't have any payment methods in my list where can i get them?:(
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on April 23, 2012, 14:14:30 PM
 There is a "New" button in the top menu ;)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: stanko91 on April 23, 2012, 15:11:40 PM
I know but i my version there are NO plugins:P there is only one which I addet on my own:)

(http://imageshack.us/photo/my-images/710/bildschirmfoto20120223u.png/)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: stanko91 on April 23, 2012, 15:12:21 PM
here a pic ...(link removed by moderator)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on April 23, 2012, 15:31:03 PM
If there are no plugins, you probably forgot to install them. If they are installed, check if the plugins are published.
Concerning installing the plugins see here:  http://dev.virtuemart.net/projects/virtuemart/wiki/Installation_of_VirtueMart_2_with_provided_packages (http://dev.virtuemart.net/projects/virtuemart/wiki/Installation_of_VirtueMart_2_with_provided_packages)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: stanko91 on April 23, 2012, 18:11:25 PM
Problem solved:) thank you!:)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: austio on May 01, 2012, 23:11:57 PM
Any news/plans for integration on the new Paypal Payments Advanced? It is the new option between Payments Standard and Pro.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: drewby07 on May 03, 2012, 22:06:58 PM
Is there a setting within paypal that will notify VM that the payment was processed and update the order accordingly?  I see that VM has settings for this, but my cart isn't updating order statuses when the paypal payment goes through...
Title: Re: How to configure PayPal in VirtueMart 2
Post by: carsten888 on May 10, 2012, 16:04:53 PM
I installed the aio component. The paypal plugin is there, but the config of the second tab will not save. I changed the settings in the database and these were shown correctly on the second tab, but the IPN's from Paypal are not being processed.

[edit]
I reinstalled and then 2nd tab in config is saved. Waiting to see if the IPN's will come in.
[/edit]
Title: Re: How to configure PayPal in VirtueMart 2 ( checkout currency )
Post by: Sunglasses-Joe on August 15, 2012, 13:35:54 PM
Hi,
Is ther a way to config as was possible  in VM 1.* so that Pay-Pal Charges the customer the currency they have selected on the website ?

i.e.  If I select USD as currency in front end as a customer, when i get to the checkout page & Pay-Pal it charges in GBP ( which is my store`s main currency )
Thanks

Joe

VM 2.0.8e
PHP Built On    Linux serv01.siteground317.com 3.5.0-grsec-sg4 #3 SMP Fri Aug 10 02:36:05 CDT 2012 i686
Database Version    5.5.24-55-log
Database Collation    utf8_general_ci
PHP Version    5.3.15
Web Server    Apache/1.3.42 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.6 Stable [ Ember ] 19-June-2012 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Title: Re: How to configure PayPal in VirtueMart 2
Post by: lalityadav on August 28, 2012, 06:38:20 AM
Hey Dear,
I configured PayPal is a payment gatway in VM2.0 , Joomla 2.5 and configured Paypal is correctly as per instruction but when i do Add to cart  then it display a message "No payment method has been configurated " .
Plz suggest  solution bcz i am unable to fix this problem in more than 2 week.


thanks,

lalit
Title: Re: How to configure PayPal in VirtueMart 2
Post by: muddauber on September 01, 2012, 05:48:41 AM
I do not have a choice for
set the checkbox to 'Published' = "Yes", select "VM-Payment, PayPal"

I only have ""VM-Payment, Standard"
Title: Re: How to configure PayPal in VirtueMart 2
Post by: efocus on September 20, 2012, 19:33:43 PM
Why are there no instructions for the URL for the IPN? I can't get this PayPal payment method to work. Neither the customer nor the vendor are getting email confirmations and I am guessing it is because I didn't turn on the IPN which isn't in the instructions. But when I do turn it on, I don't know what URL to specify. Can anyone help?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: irphan1 on September 21, 2012, 14:49:28 PM
Hello,

I configured PayPal  payment gatway in VM2.0.10 , Joomla 2.5 and configured Paypal is correctly as per instruction but when i do Add to cart  then it display a message

"
Please select a payment method

We are sorry, no payment method matches the characteristics of your order. Please
" .

However the payment method configured and published.I also did not select any country as other replies suggest to not select country.

Please help me

Thanks,
Irphan
Title: Re: How to configure PayPal in VirtueMart 2
Post by: efocus on September 22, 2012, 23:42:20 PM
Quote from: efocus on September 20, 2012, 19:33:43 PM
Why are there no instructions for the URL for the IPN? I can't get this PayPal payment method to work. Neither the customer nor the vendor are getting email confirmations and I am guessing it is because I didn't turn on the IPN which isn't in the instructions. But when I do turn it on, I don't know what URL to specify. Can anyone help?

I still would like an answer on a URL for the IPN but I discovered why email confirmations weren't working. Haven't found the exact one yet but one of my template overrides stopped the email order confirmations. There seem to be many reasons for missing email confirmations -- now there's another one.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: sewsensory on October 10, 2012, 06:35:59 AM
Okay, I am looking after my own site on Joomla 1.5.25  using VM 2.0.  All was great until my "internet guy" updated the site to VM2 at my request.  I thought everything would transfer over nicely but it appears that the link to Paypal is gone?! Or something isn't right as I am receiving orders but customers are getting a message of thanking them for using paypal but they've not had to complete any paypal info & I am not receiving anything in my paypal account.  The "internet guy"  knows nothing about Virtuemart & has told me that straight-out.   I need to get this figured out but the link that was provided by jjk for 'configuring your account at Paypal" is no longer valid. Please HELP!!
Title: Re: How to configure PayPal in VirtueMart 2
Post by: inuit on October 14, 2012, 12:52:19 PM
I'm also having the same problem with "We are sorry, no payment method matches the characteristics of your order". Has anyone found a solution to this yet?

Thanks

Shaun
Title: POST specific instructions to insert the PayPal API information?
Post by: 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?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on October 25, 2012, 21:44:03 PM
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? 

Simple Answer: "Nowhere"  :)
If you follow the third link in the first post of this thread, you will see that the implemented free PayPal payment option is using html to pass data to PayPal.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_landing (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_landing)
It doesn't use any of the other PayPal API implementations. PayPal has asked the VM2 team to code a Plugin for this, but it is not available yet. (However, I think I've seen one or two third party plugins for PayPal Pro recently)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: stargazer1682 on November 07, 2012, 09:00:20 AM
I've install the AIO component (and subsequently re-installed it) and still no modules for shipping or payment.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: LKopps on March 23, 2013, 01:41:50 AM
I have been trying to get this working for two weeks with no luck.

I am stuck on step 3 becase the part that you say "...select "VM-Payment, PayPal" in the dropdown list..." the VM-Payment is not there to select. Only PayPal.

What am I missing?

PHP 5.3
Joomla 2.5.9
VM2 2.0.20b

I have aio installed.

Thanks!
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jenkinhill on March 23, 2013, 12:29:12 PM
That does not exist now. Just start a new payment method, name it, select PayPal for the Payment Method, save and then you can enter the configuration.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: LKopps on March 24, 2013, 20:20:35 PM
Quote from: jenkinhill on March 23, 2013, 12:29:12 PM
That does not exist now. Just start a new payment method, name it, select PayPal for the Payment Method, save and then you can enter the configuration.
jenkinhill,
I believe that I already had set it up as you describe and failure message displays.
I have attached four files that document all steps that I went through. The failure message is on page 10 in Figure 21. I included all steps that I went through to hopefull zero in on the problem faster since I am supposed to go live in six days on March 31, 2013.
Thank you for your help.


[attachment cleanup by admin]
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on March 26, 2013, 12:09:32 PM
The message "We are sorry - No payment method matches the characteristics of your order..." usually means that you have a restriction in your payment method, which is not met. In your case it looks like you click on "Select Payment" in the cart without having entered a 'Bill to' address. In your PayPal setting you have limited your PayPal payment method to the United States. Since VM doesn't see 'United States' in the 'Bill to' address form, it doesn' show it.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: LKopps on March 27, 2013, 04:23:36 AM
jjk,
I changed the Payment Curency to "Default Vendor Currency" and Email Currency to "Vendor currency" followed by filling in the billing information. This did the trick. I redirected me to the PayPal Sandbox.
Thank you very much for your patience and great help!
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jhdesign on April 18, 2013, 23:30:48 PM
Why is it with Sandbox status is always Pending? and there is no redirect back to the site? This is a clean install with VM 2.0.20b (include demo data).
Title: Re: How to configure PayPal in VirtueMart 2
Post by: lkbackus on April 22, 2013, 21:10:43 PM
I also cannot get the order status to update from pending and therefore no email is sent.

I have my notification url set to http://www.xxx.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
if i type this url into my browser - i get no error

I looked in the database at the payment table for paypal - i do not see new records created for the purchase i made.


I went into paypal and cancelled an order and it updated the status in my orders in virtuemart to cancelled!!
But new orders do not update the status from pending.


I then turned on  debug in the paypal config screen.
IN the debug in my logs file i see :

message: _processIPN FROM IPN VALIDATION:HTTP/1.0 200 OK
message: _processIPN valid_ipn:VERIFIED

I have virtuemart version 2.0.20b  joomla 2.5.9

Title: Re: How to configure PayPal in VirtueMart 2
Post by: jhdesign on April 24, 2013, 22:17:49 PM
Support for this issue has been non existent for last 2 weeks.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: flow23 on April 26, 2013, 01:46:58 AM
Hi everyone, Im facing a problem on Virtuemart 2.0.20b Joomla 2.5
I add the shipping address but when I confirm the purchase and go to paypal I get an error message
The issue is that The City, State and Zip Code are in the same line. SOmething like this:

Name Last Name
Address 1
City, State Zip
Country

Any idea of how to fix this?

This is the site if you want to take a look http://laurelsonline.com
Title: Re: How to configure PayPal in VirtueMart 2
Post by: Maxim Pishnyak on May 03, 2013, 11:03:48 AM
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?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: Payzen-raab on May 10, 2013, 10:00:23 AM
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.

Title: Re: How to configure PayPal in VirtueMart 2
Post by: msminteractive on May 16, 2013, 22:30:27 PM
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?!
Title: Re: How to configure PayPal in VirtueMart 2
Post by: lostmail on May 21, 2013, 13:06:15 PM
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]
Title: Re: How to configure PayPal in VirtueMart 2
Post by: webpx on May 25, 2013, 06:39:46 AM
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.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: tomo11 on June 11, 2013, 12:17:57 PM
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
Title: Re: POST specific instructions to insert the PayPal API information?
Post by: Jessica28 on July 17, 2013, 18:19:53 PM
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..
Title: Re: How to configure PayPal in VirtueMart 2
Post by: solmab on July 19, 2013, 00:28:25 AM
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
Title: Re: How to configure PayPal in VirtueMart 2
Post by: 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 yourdomain.com/index.php?option=com_virtuemart&view=paymentresponse&task=paymentnotification&tmpl=component&pelement=paypal&pm="your_payment_method_id" (make sure your payment method ID number is placed at the end like this
yourdomain.com/index.php?option=com_virtuemart&view=paymentresponse&task=paymentnotification&tmpl=component&pelement=paypal&pm=1
4. if the sale status is not updating for you, is your website in a sub directory, for example 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
Title: Re: How to configure PayPal in VirtueMart 2
Post by: simbus82 on July 25, 2013, 10:31:32 AM
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 yourdomain.com/index.php?option=com_virtuemart&view=paymentresponse&task=paymentnotification&tmpl=component&pelement=paypal&pm="your_payment_method_id" (make sure your payment method ID number is placed at the end like this
yourdomain.com/index.php?option=com_virtuemart&view=paymentresponse&task=paymentnotification&tmpl=component&pelement=paypal&pm=1
4. if the sale status is not updating for you, is your website in a sub directory, for example 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.... :-(
Title: Re: How to configure PayPal in VirtueMart 2
Post by: Maxim Pishnyak on July 25, 2013, 15:33:16 PM
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?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: alatak on July 25, 2013, 19:40:12 PM
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),

Title: Re: How to configure PayPal in VirtueMart 2
Post by: Tobes on July 27, 2013, 13:35:18 PM
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 (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
Title: Re: How to configure PayPal in VirtueMart 2
Post by: lordimac on August 14, 2013, 10:03:45 AM
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. :(
Title: Re: How to configure PayPal in VirtueMart 2
Post by: ssc3 on September 04, 2013, 14:51:57 PM
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.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on September 04, 2013, 17:58:30 PM
Paypal Express is not the same as PayPal standard so not really a "replacement" ?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: ssc3 on September 04, 2013, 23:59:06 PM
In terms of customer experience the two plugins can be made to look and operate in almost identical ways.

Customer clicks on button.
Customer is taken to the PayPal order form.
Then chooses between payment by PayPal or credit card.
Then are then taken to the PayPal order confirmation page
and just like Standard the merchant can set the Express confirmation page to be on PayPal itself.

I can set Express up so the average customer would have a hard time telling the it apart from Standard.

Under the skin they are of course very different, but that part is invisible to the customer.

For instance Express passes the order details directly from the merchant server to PayPal's.
The is more secure than standard which passes the order details through the browser
where items and prices can be potentially manipulated by the customer.

In this integration full order details are also passed to PayPal.
This means if you order a "Nice Saw" you can log in to PayPal and see the words "Nice Saw" on the order form.
Plus any attribute data such as colour or size. With Virtuemart's current implementation of standard you will just see an order number.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on September 05, 2013, 09:42:20 AM
Quote
For instance Express passes the order details directly from the merchant server to PayPal's.
The is more secure than standard which passes the order details through the browser
where items and prices can be potentially manipulated by the customer.

Are you implying that the current implementation of the Paypal standard plugin is inherently insecure and open to fraudulent manipulation?

Quote
In this integration full order details are also passed to PayPal.
This means if you order a "Nice Saw" you can log in to PayPal and see the words "Nice Saw" on the order form.
Plus any attribute data such as colour or size. With Virtuemart's current implementation of standard you will just see an order number.

Can this be turned off in PayPal express? At the point the customer needs to add payment details, many shop owners do not want to "flood" the payment page with a list of items for yet another review.  They just want to show what payment is required and get the payment completed.

Title: Re: How to configure PayPal in VirtueMart 2
Post by: ssc3 on September 05, 2013, 10:54:58 AM
Quote
Are you implying that the current implementation of the Paypal standard plugin is inherently insecure and open to fraudulent manipulation?

It is perfectly possible and well documented on how to manipulate the information going to PayPal in standard.
This is why Virtuemart checks the currency and order total of the IPN response sending the merchant a warning email in cases of discrepancy.
Virtuemart can detect this but only after the order has gone through PayPal.

However the manipulated order will still appear in your PayPal account as accepted and PayPal will send out emails showing the order as accepted.


Quote
Can this be turned off in PayPal express?

For large orders a little mini scroll bar will appear.
The more items bought the more important it is to check the accuracy of the list.

This information is also used in the PayPal account.
You can log in to PayPal and see the details of what you have actually bought.
The PayPal emails will also use this information.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on September 05, 2013, 19:30:40 PM
SSC

Good to see the clarification of your first post comment relating to security of payments using paypal standard plugin and VM2 integration.

VM will not send out a confirmed e-mail as the IPN will error and send an error e-mail of such an occurence to the store vendor. This is an important clarfication!

So the answer to the question relating to optionally sending product detail to PayPal express checkout is ?
Why does a customer who has already added items to the cart, viewed the cart, seen the items throughout the checkout process need to do a further check through a list?  When I pay with my credit directly on a VM site using Paypal Pro such a feature is not provided and for a good reason! It is not needed and interrupts the payment flow!

The paypal e-mail is pretty much irrelevant for the checking of order lines especially when the order is e-mailed to the customer via VM

However, you are offering a free plugin so you should be praised for giving something back!


Title: Re: How to configure PayPal in VirtueMart 2
Post by: ssc3 on September 06, 2013, 09:50:14 AM
You would still end up with hacked orders in the PayPal account.

PayPal recommend that orders should be encrypted and I see no reason to disagree with that.
The more security the better. No sense in letting hackers get even a toehold on your website.

Not sure how displaying the order details slows the order process down?
It takes a couple of seconds scan the list and there are no extra buttons to press.

This is not a new plugin. It was released over a year ago and showing the order details has been
quite a popular feature among merchants. I have had a few requests for more information,
but yours is the first for less!

It would actually quite trivial to program in. The difficult bit is sending the full order details.
However if I do get enough requests for this option, it might actually might get included.
It would certainly be quicker than answering these emails!
Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on September 06, 2013, 10:00:17 AM
I will pass this over to Alatak to see what her opinions are on their standard PayPal offering

Title: Re: How to configure PayPal in VirtueMart 2
Post by: ssswisss on September 09, 2013, 09:49:54 AM
I HAVE SAME PROBLEM:
PLEASE HELP:

SYSTEM :virtuemart Version 2.0.20b AND Joomla! Version 2.5.14

shop works good. I sell virtuel download product..
After PayPal payment order Status in Pneding and System send no email with download link..

Status shall be automatish corfirmed after PayPal payment.. and system must send an email with download link...
please help..

If i Change order Status in admin Panel manuel, System send email with DOWNLOAD link.. I must Change order Status manuel to confirmed...

i can also pay for it if someone help me and solve this Problem


THANKS
Title: Re: How to configure PayPal in VirtueMart 2
Post by: Maxim Pishnyak on September 12, 2013, 21:03:03 PM
You need to update your VM.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: RobHilary on November 26, 2013, 21:08:05 PM
Hi, sins the last update of vm problems with payment via PayPal.
Now you can place an order and select paypal and when you should be redirected to paypal you get a white screen with a lot of text.
Does anyone here have any answer on how to solve this issue?


[attachment cleanup by admin]
Title: Re: How to configure PayPal in VirtueMart 2
Post by: eag on January 09, 2014, 21:26:26 PM
I have configured as a payment method Paypal, but when I select this method of payment, at checkout, loading the website with a server 500 error, but the error log of the server does not register the error, so I have no clue as to where the problem is.

Does anyone else has had this problem? Solved how?

thanks in advance

VM 2.0.26a
Joomla 2.5.17
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on January 09, 2014, 21:42:04 PM
You may try an update to VM 2.0.26c. It includes one or two fixes for issues with PayPal.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: eag on January 10, 2014, 00:49:15 AM
Thanks, the update fix it.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on January 10, 2014, 13:18:30 PM
You will probably need another update to 2.0.26d, because apparently the 2.0.26c the pagination is broken.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: eag on January 10, 2014, 13:30:32 PM
thank you very much jjk, had read post that talked about this ... but I do not want to believe it.  :o

in "Virtuemart 2 - Live Update" any pending update is listed, but if you look in detail, see the URL of the update file is: http://virtuemart.net/component/ars/repository/virtuemart/virtuemart-2-0-26c/comvirtuemart-2-0-26d-zip
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jcalvert on January 13, 2014, 02:22:39 AM
I am using VM 2.0.26a (Joomla 2.5.14) and having a lot of problems with the PayPal payment method.  First, I can't get email notifications if I use PayPal Standard, in the case of Pending orders (i.e. confirmed by customer).  After exhausting all possibilities in the message boards, I examined the code very carefully and found that the code for email notification is not being called in the case of PayPal Standard, and for Pending orders.  Then I attempted an order and paid in PayPal, and then got the repeated email "An error with your payment paypal on your store XXX" referencing an error log file, paypal.1.log.php, but that file was nowhere to be found.  These emails were sent over and over, until I deleted the order.  Even though the payment was accepted by PayPal, VM didn't receive the confirmation and VM sent no email to customer or vendor (just the error email).

If I upgrade to the latest VM 2.0.26d, will these problems with PayPal payment using "Standard" be solved?  Also, should I select Payment Type "Normal" or "Shopping Cart"?

Or, will I need to use "Express checkout"?

thanks,
JC
Title: Re: How to configure PayPal in VirtueMart 2
Post by: eag on January 13, 2014, 17:03:22 PM
In sandbox mode doesn't work?

try to setup with your test paypal account.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: melsonmarketing on January 28, 2014, 10:14:05 AM
Hi I`m using

2.026d
Joomla 2.5.17
Php 5.3.2-1ubuntu4.22
database 5.1.73-0ubuntu0.10.04.1
Apache/2.2.14 (Ubuntu)

After updating to 2.026d PayPal doesn`t work.

- The customer is redircted to the confirmationpage (Thank you...)
- an order is processed and visible
- all articles stay in the cart

This is not happening, using other payments...

Can anyone help?
Title: Re: How to configure PayPal in VirtueMart 2
Post by: e-trader on February 09, 2014, 17:41:11 PM
Quote from: RobHilary on November 26, 2013, 21:08:05 PM
Hi, sins the last update of vm problems with payment via PayPal.
Now you can place an order and select paypal and when you should be redirected to paypal you get a white screen with a lot of text.
Does anyone here have any answer on how to solve this issue?

Ooh is this what our customers are seeing? Is this why we get hundreds of pending/unpaid orders in?  *wonderful*
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on February 09, 2014, 19:48:09 PM
Quote from: e-trader on February 09, 2014, 17:41:11 PM
Ooh is this what our customers are seeing? Is this why we get hundreds of pending/unpaid orders in?  *wonderful*

Normally they don't see a blank screen. But if you are not shure you can test what your customers see either by setting up a sandbox account in PayPal or do a quick check by temporarily enabling the logging the PayPal transactions in the VM PayPal configuration, so that the next PayPal actions on your site is logged. You may also test what I wrote in the second sentence of this post: http://forum.virtuemart.net/index.php?topic=120985.msg413596#msg413596. The following posts in that forum thread might be of interest to you, too.



Title: Re: How to configure PayPal in VirtueMart 2
Post by: jcalvert on February 09, 2014, 21:16:50 PM

Since I upgraded to VM 2.0.26d I think the PayPal plugin is working properly; however, with PayPal Standard the order notifications are emailed after the customer makes the payment. 

JC
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on February 09, 2014, 22:05:33 PM
Quote from: jcalvert on February 09, 2014, 21:16:50 PM
however, with PayPal Standard the order notifications are emailed after the customer makes the payment. 

That's an intensional change in order to prevent that you receive an order which says 'Payment by PayPal' and the customer actually never sent the payment.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jcalvert on February 11, 2014, 05:37:45 AM

I believe it is configurable when the notifications are sent, and so if Pending is selected, nothing happens.  I was fooled by this and spent a lot of time trying to figure out why notifications were not being sent, since in VM 1, notification were sent on pending status.  In VM 2.0.26 (a?) there was a message at the top of the configuration tab of the PayPal plugin which said Warning, in VM2 order notifications are sent when the customer pays.  This warning was removed in the current version.  Maybe put the warning back?

JC
Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on February 11, 2014, 10:23:35 AM
In the latest version of VM2 you configure which order statuses send notifications to the customer.

The notification is a full run down of the order / not just an update message, so every time a status change intiiates a customer update email, the order details are re-sent in the message.

Configuration is a breeze.

1. Create the order statuses you want to use (easy to use the default settings - but you may want different shipping statuses)

Configuration/order statuses
Note: Order status determines stock movement (Stock handling)

1b.) If you added a new status, you may have set a language variable for it in the joomla language overrides

2.) Decide on what you want the paypal status to set (default statuses work well)

Shop/payment-methods/ paypal payment method /configuration-tab

Order Status for Pending transactions
Most people do not want to email the customer at this point as the transaction has not been confirmed
However an order HAS been created in Virtuemart

Order Status for Successful transactions
Depending on what paypal integration you choose - this will be the status automatically set on successful or confirmation of successful payment (IPN for example)
It is usual to set a status that will send a customer email at this point (but that is your configuration choice!)

Cancel transactions
Your order status should free up stock

Capture Payment
(Not seen this one before so not really able to advise)

Refunded transactions
Be aware that the order status setting (Stock handling) determines if stock is adjusted
It probably should send an email

Partial Refunded transactions
Be careful of this setting as the status set here could adjust the stock for the whole original order and this is not good if you have only had returned a part order
It probably should send an email


3.) Choose the statuses that will send communications to the customer

admin/configuration/checkout-tab

You will see the options for sending the following


Handy tip for those people not wanting to send/create an invoice
Create a new status called "no invoice" (or whatever)
Then remove the current setting in the Default Order Status to create an invoice  box and add the "no invoice" status
Title: Re: How to configure PayPal in VirtueMart 2
Post by: alatak on February 11, 2014, 11:00:48 AM
Hello

QuoteOrder Status for Pending transactions
Most people do not want to email the customer at this point as the transaction has not been confirmed
However an order HAS been created in Virtuemart

Please not that this order status is not the "Order created " order status.
It is the order status when the order has been received by PayPal, but the payment has not yet been processed.
http://docs.virtuemart.net/manual/40-paypal-payment-parameters/147-pending-transactions.html


Title: Re: How to configure PayPal in VirtueMart 2
Post by: AH on February 11, 2014, 11:31:01 AM
Alatak.

Yes I should have stated that pending status is PayPal pending, I.e. customer completed their part of the transaction but PayPal have not yet released it for payment to you.

If you have IPN notifications, you should get the final status update when PayPal have determined the outcome.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: antonio8 on February 15, 2014, 04:34:54 AM
Why am I getting this email from VirtueMart Team? :-\ - the payment is processed, but the order stay pending, and then this email.
Hello,
An error with your payment paypal on your store New Concept Lures. The details are logged in the file paypal.1.log.php
The VirtueMart Team

Any input from the experts will be like winning Gold! 8)
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jcalvert on February 15, 2014, 04:37:19 AM
I wrote:
QuoteSince I upgraded to VM 2.0.26d I think the PayPal plugin is working properly; however, with PayPal Standard the order notifications are emailed after the customer makes the payment.

JC
Title: Re: How to configure PayPal in VirtueMart 2
Post by: t68 on February 23, 2014, 22:19:10 PM
Just got an order payed with paypal where I see the money on my PayPal but the payment has status "pending" in the VM order list.

What's wrong here?  I set up the PayPal plugin so that PayPal pending status should report as confirmed by customer in VM.

EDIT: read up on IPN-settings and stuff and made these adjustments to my PayPal account but I still get order status "Pending" where it should be "Confirmed" in VM according to my PayPal plugin settings. Checked the IPN history on my PayPal account and the http response is listed as "200" for that transaction (which in PP is listed as completed). As far as I understand that indicates an OK response from my VM. So wy isn´t the order status updating correct?

On VM2.0.26d / J2.5.17



Skickat från min HTC One via Tapatalk
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jjk on June 05, 2014, 10:03:14 AM
I'm using these order email status settings (screenshot attached), which works.
PayPal doesn't send confirmations when the status is "Pending".

[attachment cleanup by admin]
Title: Re: How to configure PayPal in VirtueMart 2
Post by: alatak on June 05, 2014, 10:18:29 AM
Hello
Quote
QuotePayPal doesn't send confirmations when the status is "Pending".
The order is set on pending when it is created by VM. And VM does not send emails in that case.
We alreday had that discussion on another post. We
If the order status is not updated, it means that something went wrong while decoding the POST from Paypal. Turn on the log option in the paypal payment config, and may be the infos logged will help us to understand why the order status is not updated.
Title: Re: How to configure PayPal in VirtueMart 2
Post by: john-doe on June 06, 2014, 19:24:37 PM
Do you know a way to send to Pay pal the data from a custom field to be seen on the transaction manifest?
Thanks in advance
Title: Re: How to configure PayPal in VirtueMart 2
Post by: mark R on September 23, 2014, 15:41:05 PM
Hi All,   ** Solved **

I am using Paypal as my payment system, but unfortunately I do no currently have SSL.
The issue is when My customer goes to the Paypal Checkout there is a Security warning with regards the image not being stored on an https server

Is it possible to remove the Logo so it is not passed to the Paypal checkout.

**update **

I have edited paypalstd.php and commented out the following from around line 252

//if (empty($this->_method->headerimg) OR $this->_method->headerimg == -1 ) {
// $post_variables['image_url'] = $this->getLogoImage();
//} else {
// $post_variables['cpp_header_image'] = JURI::base() . 'images/stories/virtuemart/payment/' . $this->_method->headerimg;
//}


Now the header of my paypal page is simple my site name pulled from the paypal setup.

Please let me know if you can see any issues with this quick fix.

Many thanks
Mark
Title: Re: How to configure PayPal in VirtueMart 2
Post by: jameel on April 10, 2016, 08:58:49 AM
Quote from: Sunglasses-Joe on August 15, 2012, 13:35:54 PM
Hi,
Is ther a way to config as was possible  in VM 1.* so that Pay-Pal Charges the customer the currency they have selected on the website ?

i.e.  If I select USD as currency in front end as a customer, when i get to the checkout page & Pay-Pal it charges in GBP ( which is my store`s main currency )
Thanks

Joe

VM 2.0.8e
PHP Built On    Linux serv01.siteground317.com 3.5.0-grsec-sg4 #3 SMP Fri Aug 10 02:36:05 CDT 2012 i686
Database Version    5.5.24-55-log
Database Collation    utf8_general_ci
PHP Version    5.3.15
Web Server    Apache/1.3.42 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.6 Stable [ Ember ] 19-June-2012 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1

try this most advanced paypal payment plugin tht will even allow you to use non papal supported curencies
http://www.itechshop.org/content-management-systems/joomla/virtuemart/payment-plugin/paypal-extended-payment/