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.
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 BITCOIN. 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. Note: BITCOIN option is only available when currency is USD and activated from your dashboard.
Below is a full example on how to add IntaSend Payment Button to your website.
Updated 6 months ago