Usage:
This shortcode displays a table of one-time purchases and subscriptions made by a user. Through this shortcode, users can manage their credit cards, view invoices, refunds and can cancel or reactivate subscriptions.
Shortcode nesting is NOT supported.
Parameters:
mode | This parameter specifies if the information displayed will be based on “live” or “test” modes. Options: test, live Default: test. Required: no. |
status | This parameter specifies which “statuses” should be shown. Options: all, pending, paid For one-time payments: failed, pending, refund, refund_full, refund_partial For subscriptions: active, paused, trial, cancelled, cancelled_at_period_end Default: all. Required: no. |
Examples:
[mbr_my_payments]
Displays a table with all one-time payments and subscriptions made in test mode.
[mbr_my_payments mode='live' status='paid']
Displays a table with all paid one-time payments in live mode.
[mbr_my_payments mode='live']
Displays a table with all one-time payments and subscriptions made in live mode.
[mbr_my_payments mode='live' status='active']
Displays a table with all active subscriptions purchased in live mode.
[mbr_my_payments mode='live' status='cancelled']
Displays a table with all cancelled subscriptions purchased in live mode.
[mbr_my_payments mode='live' status='cancelled_at_period_end']
Displays a table listing of all subscriptions purchased in live that have been cancelled. These subscriptions can be reactivated through this shortcode by the buyer or through your Stripe Interface by yourself.
[mbr_my_payments mode='live' status='refund']
Displays a table with all one-time payments that have been refunded, whether partial or full refund.
[mbr_my_payments mode='live' status='refund_full']
Displays a table with all one-time payments that have been fully refunded.
[mbr_my_payments mode='live' status='refund_part']
Displays a table with all one-time payments that have been partially refunded.