How to Customize the Type of the Stripe Payment Page Button

Submit Type is an add-on for the Stripe Checkout plugin that can be used to customize the type of the submit button that appears on the Stripe payment page. This allows you to show a different button text on a per product basis such as “Book”, “Donate” or “Pay”.

How Submit Type with Stripe Works

Stripe offers 4 different submit types to customize the text that appears on the payment page button – pay, book, donate and auto.

Submit Button Type Pay

pay type submit button on the stripe payment page

Submit Button Type Book

book type submit button on the stripe payment page

Submit Button Type Donate

donate type submit button on the stripe payment page

Submit Button Type Auto

auto type submit button on the stripe payment page

How to Customize Stripe Submit Type (Option 1)

You can select one of the 4 options in the product interface of the Stripe Checkout plugin.

select submit type in the wp stripe checkout plugin

Once you have created a new product or edited an existing one with a Submit Type option selected, add the shortcode for it to a post/page.

[wp_stripe_checkout id="1"]

Replace the value of id with your product ID.

How to Customize Stripe Submit Type (Option 2)

If you are using the “wp_stripe_checkout_session” shortcode in the Stripe Checkout plugin, you can change it to the following to customize the submit type.

[wp_stripe_checkout_session name="My Product" price="2.99" submit_type="donate"]

Supported values are: book, donate, pay and auto. The default is auto.

How to Customize Stripe Submit Type (Option 3)

If you are using the “wp_stripe_checkout_v3” shortcode in the Stripe Checkout plugin, you can change it to the following to customize the submit type.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" submit_type="book"]

Supported values are: book, donate, pay and auto. The default is auto.

Get the Submit Type Add-on

WP Stripe Checkout Submit Type
WP Stripe Checkout Submit Type
Customize the type of the submit button that appears on the Stripe payment page.
Price: $39.99
Price: $29.99

Please contact us if you have any questions about the add-on.

2 thoughts on “How to Customize the Type of the Stripe Payment Page Button”

  1. What does the donate type do?

    Reply
    • @Brian, When this is set, Stripe should classify the transaction as a donation.

      Reply

Leave a Comment