Skip to main content

Stripe

Setting up Stripe in BuildPlateZ is a straightforward process that allows you to accept payments through Stripe. This guide will walk you through the steps to configure Stripe as a payment provider in your BuildPlateZ project.

Introduction

Prerequisites

Step 1: Get Stripe Secret Key

  1. Go to Stripe Dashboard.
  2. Log in with your Stripe account.
  3. Make sure you are not in test mode with the toggle button in the menubar
  4. Navigate to Developers -> API keys.
  5. Copy the Secret Key (starts with sk_live_...).

Step 2: Set Up a Stripe Webhook

  1. In the Stripe Dashboard, navigate to Developers -> Webhooks.
  2. Click Add Endpoint.
  3. Enter the following URL - https://buildplatez.com/payments/webhook
  4. Select ALL for Events.
  5. Click Add endpoint and note down the Endpoint Secret.

Step 3: Add payment method configuration

  1. Open the payment provider configuration screen or navigate to menu Organization -> Payment Providers.
  2. In the Stripe section enter the required fields with the data from previous steps
    • The Success Url and Cancel Url are used to navigate the user after they pay or cancel. They can be URLs to your application or any other page you want the user to be redirected to after payment.
  3. Click Save.

Step 4: Verify Webhook Events

  1. Request a Stripe payment on a sample order.
  2. You should see a valid payment link successfully generated.
  3. Open the link in a browser and verify the details of the payment (amount, etc).

Conclusion

By following these steps, you have successfully set up Stripe credentials in BuildPlateZ. You can now accept payments through Stripe in your regular widgets and orders. If you encounter any issues, please refer to the BuildPlateZ documentation or contact support for assistance.