Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.
I'm trying to integrate a store application with the Pagar.me gateway using ActiveMerchant 1.69.0 but all transactions are failing with an error in the card_expiration_date parameter.
This is happening probably because of a change in the /transactions API. I checked the docs and found out the endpoint accepts card_expiration_date in the format MMYY (I tried with MMYYYY and also worked), rather than MM/YY.
I'm trying to integrate a store application with the Pagar.me gateway using ActiveMerchant 1.69.0 but all transactions are failing with an error in the
card_expiration_date
parameter.This is happening probably because of a change in the
/transactions
API. I checked the docs and found out the endpoint acceptscard_expiration_date
in the formatMMYY
(I tried withMMYYYY
and also worked), rather thanMM/YY
.https://docs.pagar.me/reference#criar-transacao
Steps to reproduce:
After I remove the slash: