public function Stripe::__wakeup in Commerce Stripe 8
Re-initializes the SDK after the plugin is unserialized.
Overrides PaymentGatewayBase::__wakeup
File
- src/
Plugin/ Commerce/ PaymentGateway/ Stripe.php, line 105
Class
- Stripe
- Provides the Stripe payment gateway.
Namespace
Drupal\commerce_stripe\Plugin\Commerce\PaymentGatewayCode
public function __wakeup() {
parent::__wakeup();
$this
->init();
}