PaymentStripe
class PaymentStripe implements PaymentStripeInterface
PaymentStripe class
Properties
private ConfigServiceInterface | $configService | Stores ConfigServiceInterface | |
private Request | $request | Stores current Request |
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 46
__construct(ConfigServiceInterface $configService, RequestStack $requestStack)
at line 58
true|array
charge(Payment $payment)
Charges the payment to Stripe server - This will charge the user's card!
at line 132
string
getPublishableKey(bool $live = false)
Gets the Stripe publishable key
at line 150
string
getSecretKey(bool $live = false)
Gets the Stripe Secret key