From f5717312dffcf0ef81695dea63ac6bd71d23ce6c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 8 Nov 2023 11:40:49 -0600 Subject: [PATCH] pass gateway_code to choose if multiple Amazon gateway instances --- lib/recurly/amazon/amazon-pay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/recurly/amazon/amazon-pay.js b/lib/recurly/amazon/amazon-pay.js index 0e201d52c..1e91f4dcd 100644 --- a/lib/recurly/amazon/amazon-pay.js +++ b/lib/recurly/amazon/amazon-pay.js @@ -71,6 +71,7 @@ class AmazonPay extends Emitter { attach () { const defaultEventName = 'amazon-pay'; + let gatewayCode = this.options.gatewayCode; this.frame = this.recurly.Frame({ path: `/amazon_pay/start?region=${this.region}&gateway_code=${gatewayCode}`, type: Frame.TYPES.WINDOW,