Customer Portal for Stripe provides shortcodes which allows the currently signed-in user to
manage their Stripe subscriptions, see their invoices & manage their cards:
Lists up to 10 Stripe subscriptions. The default value for
To allow a user to cancel their subscriptions, set
Lists up to 10 Stripe invoices.
Lists up to 10 credit cards stored at Stripe.
Allows a user to add a new card. The newly added card will be set as default.
On first visit of any page containing a
cpfs_*shortcode, the currently signed-in user will be looked up
in Stripe using the user’s email address. If not matching customer is found, a customer will be created.
If needed, an administrator can manually link a Stripe customer ID to a user by editing the affected user profile
in WP Admin and updating the
Stripe Customer IDfield.
If an administrator updates the email address of any user in WP Admin, the Stripe customer email will be updated as
well (or created if the customer doesn’t exist).
If a user updates their email address in WordPress, their email will not be updated in Stripe.
Responses from Stripe are being cached for 15 minutes to avoid excessive API calls.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Place any of the
[cpfs_*]shortcodes into your pages
Contributors and Developers
“Customer Portal for Stripe” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Improve error handling
- [FIXED] Fix regex to allow saving of live keys. Cameron Gilroy
- [SECURITY] Escape all Stripe API output
- [CHANGED] Remove ZIP input/requirement when adding a new card
- [FIXED] Properly handle
- [IMPROVED] Remove both card & customer transient upon card update to immediately reflect ‘default card’ attribute
- Complete plugin rewrite
- Initial release