Author Topic: How to test PayPal Smart Buttons  (Read 3310 times)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
How to test PayPal Smart Buttons
« 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

cvrak

  • Jr. Member
  • **
  • Posts: 80
  • A beginner
Re: How to test PayPal Smart Buttons
« Reply #1 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/ 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

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: How to test PayPal Smart Buttons
« Reply #2 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

titolin10

  • Jr. Member
  • **
  • Posts: 80
  • A beginner
Re: How to test PayPal Smart Buttons
« Reply #3 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
Quote
Also 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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: How to test PayPal Smart Buttons
« Reply #4 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/