News:

Support the VirtueMart project and become a member

Main Menu

How to test PayPal Smart Buttons

Started by Milbo, October 24, 2018, 19:25:21 PM

Previous topic - Next topic

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

cvrak

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/ Do I have to follow these instructions?
The URL of my e-shop is 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

gretel

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

titolin10

#3
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.

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

amruthalalm

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.