関数
Checkout::getCheckoutInjectionVariables()
Returns variables that the Amazon checkout JS depends on
戻り値 戻り値
ファイル: src/Components/AmazonCheckout/Checkout.php
protected function getCheckoutInjectionVariables() { $opts = $this->module->getActingOpts(); return [ 'amzjsurl' => $opts['amzjsurl'], 'sandbox' => $opts['sandbox'], 'merchantId' => $opts['merchant_id'], 'ledgerCurrency' => $opts['ledgerCurrency'], 'checkoutLanguage' => $opts['checkoutLanguage'], 'publicKeyId' => $opts['public_key_id'], ]; }