Closed remcotolsma closed 2 years ago
payment.meta.issuer
is fine with me.
I don't think it makes sense to differentiate between payment.meta.ideal_issuer
and payment.meta.creditcard_issuer
, as there will usually only be a single issuer in use for a payment.
If there are other parameters (I can't think of any now), we could also consider a payment.payment_method
:
payment {
"payment_method": {
"id": "ideal",
"issuer": "ideal_INGBNL2A"
}
}
But as the issuer value is not a 'registered constant' within the plugin and could be 'any value', I feel it is more appropriate to store it as payment meta.
Currently the
issuer
property is specific used for iDEAL or creditcard issuers. Therefore it is probably more suitable for payment meta. Should we store this inpayment.meta.ideal_issuer
,payment.meta.creditcard_issuer
orpayment.meta.issuer
?https://docs.mollie.com/reference/v2/payments-api/create-payment
@rvdsteege ?