PaymentStripeInterface
interface PaymentStripeInterface
Interface to be called for DI for PaymentStripeInterface related services
Methods
true|array
string
getPublishableKey(bool $live = false)
Gets the Stripe publishable key
string
getSecretKey(bool $live = false)
Gets the Stripe Secret key
Details
at line 26
true|array
charge(Payment $payment)
Charges the payment to Stripe server - This will charge the user's card!
at line 33
string
getPublishableKey(bool $live = false)
Gets the Stripe publishable key
at line 40
string
getSecretKey(bool $live = false)
Gets the Stripe Secret key