To accept payment you need to set the data-method attribute value to CARD-PAYMENT .
Below is a an example on how to add the card support. Note specifying the data-method attribute hides all other payment options and show only the one specified.
Button Data Attributes
Here is a full list of data attributes you can add to customize the customer experience. Note that if you provide value for the fields like data-first_name, we will reuse that and the customer does not have to fill it again. This makes your card payment form shorter. We encourage developers to provide data that they already have e.g email, addresses, first and last name in addition to the mandatory fields i.e amount and currency.
Updated about 1 year ago