-
Notifications
You must be signed in to change notification settings - Fork 14
Subscriptions
Remco Tolsma edited this page Mar 7, 2018
·
3 revisions
A new payment can trigger the creation of a new subscription of the payment contains information about a subscription.
When the payment contains all the information to create a new subscription it will be created. By default the subscription meta status will be null
and the post status will be subscr_pending
.
Meta status | Post status |
---|---|
null |
'subscr_pending' |
Payment meta status | Payment post status | » | Subscription meta status | Subscription post status |
---|---|---|---|---|
'Success' |
'payment_completed' |
» | ||
'Cancelled' |
'payment_cancelled' |
» | ||
'Expired' |
'payment_expired' |
» | ||
'Failure' |
'payment_failed' |
» | ||
'Open' |
'payment_pending' |
» | ||
'Active' |
? | » | ||
'Completed' |
? | » |
Payment meta status | Payment post status | » | Subscription meta status | Subscription post status |
---|---|---|---|---|
'Success' |
'payment_completed' |
» | ||
'Cancelled' |
'payment_cancelled' |
» | ||
'Expired' |
'payment_expired' |
» | ||
'Failure' |
'payment_failed' |
» | ||
'Open' |
'payment_pending' |
» | ||
'Active' |
? | » | ||
'Completed' |
? | » |