Page MenuHomePhabricator

Ensure we are saving the correct gateway_txn_id for Adyen / iDEAL
Open, Needs TriagePublic

Description

Adyen seems to generate a new txn ID for each step in the process, similar to Amazon's separate authorization and capture IDs.

For credit card transactions, we save the last ID they generate - the equivalent of the capture ID. For iDEAL transactions, it looks like we may be saving the auth ID, but that another ID is showing up for the same transaction in the audit files.

The solution may be to stop sending the completed donation message from the front end and to save the donation only when the IPN message for the capture comes in.