This module helps recover orders where payment was completed but not properly recorded in Drupal. It periodically checks payment gateways for unrecorded transactions and updates Drupal orders accordingly, ensuring that paid orders are correctly marked as complete and a payment record is created. This process can also be triggered manually.
Adds a way to synchronize completed transactions not properly saved in Drupal. Considerate the following scenario:
- A order is checked out and the user goes to the payment gateway.
- The user pays the order in the payment gateway.
- The payment gateway sends a request to Drupal to update the order status.
- Drupal do not save the order status due a communication issue, a 500 error, maintenance works, or whatever other unknown reason.
- Administrators won't realize about the payment and would think the order is uncomplete.
To solve that situation, this module perform the following actions:
- Collect uncompleted orders.
- Call sermepa API and check the order status.
- If the gateway report the order is paid, set the order status and completed and create the related payment entity.
The process is performed periodically via CRON + Queue API, and can be performed also manually via Views Bulk Operations action.
For now: the following payment gateways are supported:
- Redsys, via commerce_sermepa module. Needs this patch.It is also required to install redsys-query-php.
- Paypal, vía commerce_paypal with a version higher or equal than 8.x-1.0-beta7