Payment Buttons

Our low-code Payment Buttons allow Pi to be accepted easily without writing lots of code.

Generating a Payment Button

  1. Go to the "Payment Buttons" section of the Gateway Dashboard and click "Create a Payment Button".

  2. Enter the amount, memo, success URL and cancel URL. These URLs will redirect the user back to your app on payment completion or cancellation.

  3. Check "Sandbox Mode" to make all payments created with this button a Sandbox mode payment.

  4. Click 'Create', then click 'Show Code' on the new button object.

  5. Copy and paste the code into the app where you wish there to be a payment button. Done!

Ensure you have Axios installed in your application to use our payment buttons.

Payment buttons can work both with and without a webhook.

Webhooks will automatically send if you have them set up on your account.

Last updated