switched to paddle inline checkout, removed paypal and most of stripe. added product sync between app and paddle.
This commit is contained in:
@@ -15,16 +15,25 @@ class CheckoutSession extends Model
|
||||
use SoftDeletes;
|
||||
|
||||
public const STATUS_DRAFT = 'draft';
|
||||
|
||||
public const STATUS_AWAITING_METHOD = 'awaiting_payment_method';
|
||||
|
||||
public const STATUS_REQUIRES_CUSTOMER_ACTION = 'requires_customer_action';
|
||||
|
||||
public const STATUS_PROCESSING = 'processing';
|
||||
|
||||
public const STATUS_COMPLETED = 'completed';
|
||||
|
||||
public const STATUS_FAILED = 'failed';
|
||||
|
||||
public const STATUS_CANCELLED = 'cancelled';
|
||||
|
||||
public const PROVIDER_NONE = 'none';
|
||||
|
||||
public const PROVIDER_STRIPE = 'stripe';
|
||||
public const PROVIDER_PAYPAL = 'paypal';
|
||||
|
||||
public const PROVIDER_PADDLE = 'paddle';
|
||||
|
||||
public const PROVIDER_FREE = 'free';
|
||||
|
||||
/**
|
||||
@@ -103,4 +112,4 @@ class CheckoutSession extends Model
|
||||
{
|
||||
return $this->status === self::STATUS_REQUIRES_CUSTOMER_ACTION;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user