I want to use Stripe for my subscription checkout - what fields do I need to include on the Checkout page?
Start by making sure you've integrated Stripe on the Settings > General page. If you need help setting up your API keys, refer to How do I integrate Stripe for credit card payments?.
After you've added Stripe as your credit card payment option, you'll need to update both the Checkout page, the Manage Billing/Shipping page, and anywhere else you might be collecting credit card information (such as the Account Dashboard page).
The first thing we recommend is to take a backup of your page styles to make sure you can roll back your changes in case you have any trouble. Even better, test this implementation on your development site first!
Once you've taken your backup, go to Settings > Page Styles within Conjured Subscriptions, and find the section of your code where the credit card fields should be displayed. Add the following fields:
<div data-creditcard-selected> <label for="number">Credit Card Number</label> <input type="text" id="number" /> <label for="month">Expiration Month (MM)</label> <input type="text" id="month" maxlength="2" /> <label for="year">Expiration Year (YYYY)</label> <input type="text" id="year" maxlength="4" /> <label for="cvc">CVC</label> <input type="text" id="cvc" maxlength="4" /> </div>
Style the fields however you'd like, but make sure they're contained in a div with the "data-creditcard-selected" parameter, and that the ids match the ones in the example above.
That's all there is to it - Stripe should now function as your credit card processor. If you have any trouble with the implementation, don't hesitate to reach out to us at firstname.lastname@example.org.