I am creating custom payment gateway for Magento 2 but facing error in credit card form.enter image description here

1 Answer 1


Do you have other payment gateways on your site? If so, check that your expiration field is not a duplication of a field on another gateway. It may be unable to get the correct value. You may want to disable other gateway modules to test this.

I'm having a similar conflict with SagePay and BitPay payment gateways.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.