Page 1 of 2

Two payment methods, only one works

Posted: 01 Sep 2020, 12:58
by escafandra
Hello,

I have two payment methods configured in my site, PayPal and Stripe as default.

Stripe works fine, but even if a customer selects PayPal as payment method the site takes you to Stripe´s .../phocacart/payment.html page.

How can I make PayPal payment method work as well? The site in case you want see for your self is https://www.jcmackintosh.es/tienda-online.html

Thank you very much,

Re: Two payment methods, only one works

Posted: 02 Sep 2020, 13:43
by Jan
Hi, testing now, with test data, I don't see any problem to select PayPal and use PayPal :idea:

Image

Image


BTW - test the loading of Bootstrap and Javascript libraries, it seems like some of the libraries are loaded twice (e.g. when popup is displayed, it is displayed twice, etc.)

Jan

Re: Two payment methods, only one works

Posted: 03 Sep 2020, 17:50
by escafandra
Jan wrote: 02 Sep 2020, 13:43 BTW - test the loading of Bootstrap and Javascript libraries, it seems like some of the libraries are loaded twice (e.g. when popup is displayed, it is displayed twice, etc.)

Jan
How do I do this? I tried using Paypal and it worked. I tried again using Stripe and I was redirected to Paypal. Maybe loading Bootstrap and Javascrip libraries solves this issue. I wonder why they are not being loaded already. Is there any backfire by using them?

Re: Two payment methods, only one works

Posted: 08 Sep 2020, 11:56
by Jan
Hi,

loading Bootstrap and Javascript libraries twice has negative desigen effect, it is not related to problems with payment methods.

Try to somehow test your cache settings in browser or test it with another browser, I am testing it on your site and when I select PayPal, it just redirects to PayPal, so for me, everything is Ok there :idea:

Jan

Re: Two payment methods, only one works

Posted: 08 Sep 2020, 14:26
by escafandra
Hello Jan,

I have tested in Safari, Firefox and Chrome. In all those three browsers I get the same result. I have to clear Joomla´s cache in order for the error not to happen. If I don´t clear Joomla´s cache and I select one form of payment, and then I go back and repeat the process and choose another form of payment, I am redirected to the first form of payment.

This is not good, because it blocks one form of payment. Say for example a customer decides to change the selected form of payment and goes back to purchase again, they won't be able to buy using their chosen form of payment. How can I solve this? Thank you,

Re: Two payment methods, only one works

Posted: 09 Sep 2020, 17:59
by Jan
Hi,

Phoca Cart does not have any cache which somehow stores the information about used payment method. I am testing it - and get no such problem. After each order, all session data (except login) are removed so when making new order, new selection of payment method needs to be done.

I have done the order on your site and it was just OK there, the PayPal worked OK ... :idea: so hard to say what can be wrong there :idea:

Jan

Re: Two payment methods, only one works

Posted: 10 Sep 2020, 13:49
by escafandra
Thank you Jan, just to confirm, were you able to reach both PayPal and Stripe after doing two orders from the same computer one after the other? For some reason, the system is not registering your attempts to purchase, but mine are being registered in the Orders window.

Re: Two payment methods, only one works

Posted: 12 Sep 2020, 15:53
by Jan
Hi,

I see now, the Stripe selection goes always to PayPal, which can mean wrong parameters in Stripe Payment method.

Can you paste a screenshot of your payment options (administration) of the stripe method?

Jan

Re: Two payment methods, only one works

Posted: 14 Sep 2020, 14:46
by escafandra
Thank you Jan, please find the screenshots here https://imgur.com/a/VUu8oFH

Re: Two payment methods, only one works

Posted: 14 Sep 2020, 20:08
by Jan
Hi, hmm, can I see your administration (if yes, just send me PM with access)?

Jan