Skip to content

Commit

Permalink
add consts (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Telegin authored Jul 7, 2021
1 parent 9392f03 commit 8a5a311
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Checkout/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ class Session extends \Stripe\ApiResource
const PAYMENT_STATUS_PAID = 'paid';
const PAYMENT_STATUS_UNPAID = 'unpaid';

const MODE_PAYMENT = 'payment';
const MODE_SETUP = 'setup';
const MODE_SUBSCRIPTION = 'subscription';

const SUBMIT_TYPE_AUTO = 'auto';
const SUBMIT_TYPE_BOOK = 'book';
const SUBMIT_TYPE_DONATE = 'donate';
Expand Down

0 comments on commit 8a5a311

Please sign in to comment.