Skip to content

Commit

Permalink
AD-390: Add amount to payment configuration in Payment component
Browse files Browse the repository at this point in the history
  • Loading branch information
kpieloch committed Jan 13, 2025
1 parent 06ad474 commit d8313a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class Payment extends React.Component<Props, State> {
environment: this.castToEnvironment(this.props.adyenConfig.environmentMode),
clientKey: this.props.adyenConfig.adyenClientKey,
countryCode: this.props.adyenConfig.countryCode,
amount: this.props.adyenConfig.amount,
analytics: {
enabled: false
},
Expand All @@ -143,7 +144,6 @@ class Payment extends React.Component<Props, State> {
hasHolderName: true,
holderNameRequired: this.props.adyenConfig.cardHolderNameRequired,
enableStoreDetails: this.props.adyenConfig.showRememberTheseDetails,
amount: this.props.adyenConfig.amount,
clickToPayConfiguration: {
merchantDisplayName: this.props.adyenConfig.merchantDisplayName,
shopperEmail: this.props.adyenConfig.shopperEmail,
Expand Down

0 comments on commit d8313a2

Please sign in to comment.