emspay / magento2

Deprecation EMS Pay - Magento2 plugin
https://emspay.eu
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Sometime getting N:-5003:The order already exists in the database. #22

Closed magentoguyssageone closed 4 years ago

magentoguyssageone commented 4 years ago

Hi,

The EMS gateway working fine but sometimes we getting below type of error 'approval_code' => 'N:-5003:The order already exists in the database.',

'fail_reason' => 'De bestelling bestaat al in de database.',

and also another issue is the IPN URL is not calling and all orders after successful payment stay as pending payment and now transaction data is showing in admin order section. http://prntscr.com/p893ca http://prntscr.com/p893hj

Thanks

magentoguyssageone commented 4 years ago

Hi,

We have solved the N:-5003:The order already exists in the database. issue by updating our magento2 order increment id as it was conflciting with Magento1 order increment id but we still facing issue like all orders still showing as pending payment and I have checked the code and look like the IPN controller not calling so Order status not updating and showing as pending payment and also no invoice created and not any transaction information added in order

and in debug log only showing this message. main.DEBUG: Request validation failed for action "EMS\Pay\Controller\Index\Ipn\Interceptor"

So please check and update me how can I solve this issue.

Thanks

magentoguyssageone commented 4 years ago

Hi,

I am closing this ticket and create another one for pending payment issue to avoid confusion.

Thanks