Accept all payment methods

How to setup IntaSend Payment Button element to accept all payment methods.

IntaSend payment button is easy to setup. As detailed in the Payment Button introduction screen, you basically need:

  • Add our IntaSend InlineJS Plugin (WebSDK Plugin) to your site
  • Add a Payment Button element and specify your defaults using the data-* attributes options provided.
  • Instantiate IntaSend by setting your API Keys and listen for events e.g on success and failure.

📘

Data-Method attribute

We use the data-method attribute to specify the payment method the user should use to make payment. The options that are available are CARD-PAYMENT, M-PESA, and BANK-PAYMENT. Note that this field is case sensitive.

Leaving this attribute blank i.e not specifying it in your Payment Button element, the users will have access to all the payment methods that we provide.

Below is a full example on how to add IntaSend Payment Button to your website.