Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With this patch, you can be sure that the checkout create a transaction. Offline project (with internet access), can now user Merchant Query Interface to check the status of the transaction.
If the payment gateway don't send a success message, you can't go to the next order pane.
Please review.
(patch in next message)
Comments
Comment #1
bennetteson CreditAttribution: bennetteson commentedFirst draft.
Comment #2
bennetteson CreditAttribution: bennetteson commentedSecond draft.
The query request don't return the failure raison.
Comment #3
JulienD CreditAttribution: JulienD commentedHi,
Currently, a transaction is only created during the reception of a payment notification from moneybookers. This patch add the possibility to create transaction after the customer succeeds the payment of his order.
I've tested Bennetteson's patch and it's working fine except the fact how a transaction is loaded from the database. Currently the first transaction of an order will always be loaded instead of the last one. I've rerolled the patch to correct this little stuff.
I've renamed the title for a better comprehension
Comment #4
jsacksick CreditAttribution: jsacksick commentedAre you really sure we need that ?
Comment #5
jsacksick CreditAttribution: jsacksick commentedThis patch is not correct, because the EFQ checks if there's at least one transaction and take the last one, but what if all of them have failed ? Then it won't enter the mqi and we're not going to create the transaction. This has to be fixed.
Comment #6
bennetteson CreditAttribution: bennetteson commentedComment #6.0
bennetteson CreditAttribution: bennetteson commentedUpdated issue summary.