VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Milbo on October 24, 2018, 19:25:21 PM

Title: How to test PayPal Smart Buttons
Post by: Milbo on October 24, 2018, 19:25:21 PM
PayPal Smart Buttons are easy to enable. Just create a PayPal Express checkout method like described here http://docs.virtuemart.net/manual/shop-menu/payment-methods/paypal-express-checkout.html

Then just enable in the "layout section" the Smart Buttons. The whole "Language depended logo configuration" is obsolete then. Next version enabling of Smart Buttons will be moved to "PayPal settings" and the old options will be marked as deprecated or we just hide them per js.

Please tell your test results here.
Title: Re: How to test PayPal Smart Buttons
Post by: cvrak on March 05, 2020, 10:36:41 AM
Hi,
I'm trying to setup paypal Smart Buttons in my e-shop. I've followed the your instructions regarding the Paypal express checkout (sandbox mode), also I've checked the "Enable Smart Buttons" but no smart buttons are displayed.
Paypal's page for integrading smart buttons is https://developer.paypal.com/docs/checkout/integrate/ (https://developer.paypal.com/docs/checkout/integrate/) Do I have to follow these instructions?
The URL of my e-shop is https://bit.ly/2vIAglw (https://bit.ly/2vIAglw), pls try to buy the Test product, to see what I mean.

How I can solve the problem?
Thanks in advance

Joomla 3.9.15
PHP  7.2.28
VM 3.4.2
Title: Re: How to test PayPal Smart Buttons
Post by: gretel on March 19, 2020, 01:54:31 AM
I'm having the same error.

1. No smart buttons are displayed
2. Not able to select radio paypal button


Is there a solution yet?

Thanks
Title: Re: How to test PayPal Smart Buttons
Post by: titolin10 on April 13, 2020, 19:44:48 PM
Hello everyone,

In my experience, it worked fine but what appears is the checkout button only. There is no (Debit or Credit card) button.

Is there anything I can do to make the debit or credit card button appear?

Update 04/16/2020
QuoteAlso when clicking on the checkout button if the cart is empty then I get a browser message like what I attached.

This issue was related to the one I reported here
http://forum.virtuemart.net/index.php?topic=144686.0

It's better to restrict the user from checkout and send a request to Paypal if the cart is empty instead of letting end user see integration based errors.
It solved After I disabled Redirect Joomla to VirtueMart registration in VM Framework Loader during Plugin Updates.


Thank you Milbo for this topic.
Title: Re: How to test PayPal Smart Buttons
Post by: Milbo on May 11, 2020, 23:00:35 PM
Please use the last version vm3.8.0. I worked again on some issues. Check here https://virtuemart.net/news/500-release-of-virtuemart-3-8-and-covid-support-campaign.
- Enhanced PayPal Smartbuttons. Shows PayPal Button now also when logged in.
Added also header for Access-Control-Allow-Origin.
Title: Re: How to test PayPal Smart Buttons
Post by: amruthalalm on December 01, 2020, 11:15:55 AM
When we enabled the smart button as a sandbox mode. it redirects to the live PayPal site. We are using VirtueMart 3.8.4 10335. the config is attached.