News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

re-confimed orders

Started by emedina, March 08, 2017, 13:11:03 PM

Previous topic - Next topic

emedina

Hello, I've detected one issue:
When a payment is done or an order is confirmed, the client goes to confirmed order template. Especially on mobiles, the client closes the browser. When client launches browser again, the browser refreshes the confirmed order page, the form is sent again. If the order was payed with PayPal, the client cancels payment.
In Spain we process credit cards with redSys. When the form is submitted again, redsys deny the payment with error code "duplicate order number" and return a cancel response that Virtuemart handle it, and cancel payment.
When the payment response comes in the url, plugging handle the response again changing orders sometimes  from "confirmed" to "pending", other times from "confirmed" to "cancelled".

Anyone has experimented this?

Thanks


emedina

Sorry, no form is re posted. The payment response is re procesed!!!.

Thanks


GJC Web Design

the redsys payment plugin should have logic filtering of the IPN response so this doesn't happen..

if already confirmed ignore the IPN
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

lindapowers

#3
Are you using SSL?

Redsys won't work well in the response with free SSL like "let's encrypt" that dont work by dedicated IP. We had to redirect the plugin response to http in .htaccess

We had the issues you mentioned when we enabled SSL but the problem is not from the plugin but the system of Sermepa which doesn't like SSL without dedicated IP.

You should contact joomlaempresa.es they are really helpfull solving issues, a part from the mentioned it has been working fine for us for years.

emedina

Hi, thank's everyone

I'm using SSL, but i think this is not the problem.
I have this problem in sites with ssl and non ssl sites.
Specially with paypal responses. Client is redirected to paypal payment process, and user cancel the second payment and plugin cancel the whole order.

AH

Regards
A

Joomla 4.4.5
php 8.1

emedina


emedina

Hello.

I reopen this post because the error is still present.
In other site, joomla 3.6 and vm 3.0.18 paypal cancel some orders after been confirmed.
Any ideas?

Thanks