The Payment Button module accepts PayPal and Stripe payments. This article focuses on how to configure the Payment Button module to accept Stripe payments.
Prerequisites
A valid Stripe account.
At least one product created in Stripe (optional).
Create a Stripe Payment Link
Log in to your Stripe account.
Click the Plus icon (top right corner).
Choose Payment Link.
Select the type (by default Products or Subscriptions is selected).
In the Product field, select an existing Stripe product or create a new one.
Click the Create Link button (top right corner).
Copy the payment link by clicking on the clipboard icon.
Set up Stripe Redirect
When a Payment Link is created, out of the box, Stripe will display a default Thank you message once the payment is complete. If you want to redirect the buyer to a specific URL, follow these steps:
Log in to your Stripe account.
From the left sidebar, click the Payment Links option.
Hover over the desired payment link, click the three dots option, and choose Edit.
Click the After Payment tab.
Choose Don't show confirmation page.
Add the page's URL to where you want to redirect the buyer.
Add the Payment Button module
Click the
button to add a new module.Add the Payment Button module.
From the Content tab → Payment → Provider, choose Stripe.
Click the Add button.
Set the Product name (it can be anything you want, but we suggest using the same product name from Stripe).
In the Checkout URL, paste the payment link copied from the previous step.
Click the Submit button.








