You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the authorize method is looking if the payment source is a brand, however, this payment source might be an alias string and therefore not respond to the brand method.
PAU/pre-authorization can currently only be used on MasterCard and Visa transactions and is supported by selected acquirers. This operation code cannot be set as the default in your Ingenico ePayments account.
Should you use PAU on transactions via acquirers or with card brands that don't support pre-authorization, these transactions will not be blocked but processed as normal (RES) authorizations.
Therefore using PAU all the time should be safe, as the gateway will automatically fallback if not supported for the given card.
The text was updated successfully, but these errors were encountered:
Currently, the authorize method is looking if the payment source is a brand, however, this payment source might be an alias string and therefore not respond to the
brand
method.Actual code at https://github.com/activemerchant/active_merchant/blob/master/lib/active_merchant/billing/gateways/ogone.rb#L152
action = (payment_source.brand == "mastercard") ? "PAU" : "RES"
This was done to allow the use of a pre-authorization instead of authorization (which gives an extra 23 days hold) for Mastercard, however, as documented on Ogone https://payment-services.ingenico.com/int/en/ogone/support/guides/integration%20guides/e-commerce/other-optional-fields
Therefore using PAU all the time should be safe, as the gateway will automatically fallback if not supported for the given card.
The text was updated successfully, but these errors were encountered: