Skip to content

Commit

Permalink
pass gateway_code to choose if multiple Amazon gateway instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Anderson committed Nov 8, 2023
1 parent 0d06ebd commit f571731
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/recurly/amazon/amazon-pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f571731

Please sign in to comment.