Author Topic: re-confimed orders  (Read 475 times)

emedina

  • Beginner
  • *
  • Posts: 30
re-confimed orders
« on: March 08, 2017, 13:11:03 pm »
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

  • Beginner
  • *
  • Posts: 30
Re: re-confimed orders
« Reply #1 on: March 08, 2017, 13:20:59 pm »
Sorry, no form is re posted. The payment response is re procesed!!!.

Thanks


GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7485
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: re-confimed orders
« Reply #2 on: March 08, 2017, 17:49:34 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: re-confimed orders
« Reply #3 on: March 08, 2017, 20:38:48 pm »
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.
http://www.comenaranjas.com - Navel oranges and clementines from Spain

emedina

  • Beginner
  • *
  • Posts: 30
Re: re-confimed orders
« Reply #4 on: March 13, 2017, 10:18:42 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2551
  • VirtueMart Version: 3.2.3
Re: re-confimed orders
« Reply #5 on: March 13, 2017, 16:16:12 pm »
Vm version is required
regards
A

Joomla 3.7.2
php 5.6 + php 7

emedina

  • Beginner
  • *
  • Posts: 30
Re: re-confimed orders
« Reply #6 on: March 14, 2017, 10:09:46 am »
3.0.18

Thanks

emedina

  • Beginner
  • *
  • Posts: 30
Re: re-confimed orders
« Reply #7 on: April 10, 2017, 10:11:18 am »
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