Stripe Plugin Template

When you activate the Stripe plugin it will add a new template to ProofBuddy called Stripe Checkout. This is a page that comes between the checkout confirmation page and the thank you page.

Default Template

This is the default template layout. You can customize it however you want, but we’re putting it here just in case you want to go back to the original

Please enter your credit card information to continue.

[pb_stripe_form_open]
[pb_stripe_errors]
[pb_stripe_cc]
[pb_stripe_cvc]
[pb_stripe_exp_month] [pb_stripe_exp_year]
[pb_stripe_submit]
[pb_stripe_form_close]

Shortcodes

You have the following shortcodes to use to customize the form.

[pb_stripe_form_open]
This outputs the HTML needed to start the form used for credit card entry.

[pb_stripe_form_close]
Outputs the HTML to close the credit card form. Also sets up the page to load the JavaScript needed for Stripe to work.

[pb_stripe_errors]
Display any messages either coming from Stripe or when redirecting back after a failed transaction.

[pb_stripe_cc]
Text box for your client to enter their credit card number.

[pb_strip_cvc]
Text box to enter the CVC number.

[pb_stripe_exp_month]
Creates a dropdown of months to use for the expiration date.

[pb_stripe_exp_year]
Creates a dropdown of years to use for the expiration date.

[pb_stripe_submit]
Creates the submit button for the form.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>