Jump to content

ValidateOrder Creates 2 orders


Recommended Posts

Hi all
Im trying to understand an issue i have with my custom payment module


It seems like for some reason that the orders are split  after i complete the paymentmodule::validateOrder call

cart = 1 item, regular demo item
order: 1 : Contains the correct cart - payment reference from my external psp and customer data
This orderis missing a carrier_id but has id_address_delivery and id_address_invoice set to correct values

order 2: Contains no cart at all, same customer details as #1, same psp reference as #1
This order has a carrier_id but is missing the id_address_delivery

I understand that Prestashop has a history of splitting orders between warehouses and carriers etc, however this order only has 1 item, with 1 package

Anyone came across something similar recently?
This is on latest presta 1.7.7.2
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...