Capturing a Credit Card

Follow

Comments

2 comments

  • Avatar
    Chris Owens

    Great doco, but hit an error using the credit card provided. Assuming this is because it has expired. 

    Worked with the following:

    Visa 4242424242424242 12/2021 or 06/2021 123 GBR With limit No
  • Avatar
    Nabarun Chakma

    The payload example has two fields for credit card expiry date - expiry_month and expiry_year.  The html form example has only one input field - <input type="tel" data-promisepay-encrypted-name="cardExpiryDate">.

     

    What will be the data attribute names if I have two separate input fields for expiry year and expiry month? 

     

Please sign in to leave a comment.