Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Jun 27, 2024
1 parent d352dcb commit 57a4c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateways/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public function getPaymentFormHtml(array $params): ?string
$view->registerJsFile(self::SDK_URL . '?' . $this->_sdkQueryParameters($params), ['data-namespace' => 'paypal_checkout_sdk']);

// IE polyfill
$view->registerJsFile('https://polyfill.io/v3/polyfill.min.js?features=fetch%2CPromise%2CPromise.prototype.finally');
$view->registerJsFile('https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=fetch%2CPromise%2CPromise.prototype.finally');
$view->registerAssetBundle(PayPalCheckoutBundle::class);

$html = Craft::$app->getView()->renderTemplate('commerce-paypal-checkout/paymentForm', $params);
Expand Down

0 comments on commit 57a4c66

Please sign in to comment.