diff --git a/src/app/branded/step-1/branded-checkout-step-1.component.js b/src/app/branded/step-1/branded-checkout-step-1.component.js index a60b2f1d4..57827744f 100644 --- a/src/app/branded/step-1/branded-checkout-step-1.component.js +++ b/src/app/branded/step-1/branded-checkout-step-1.component.js @@ -39,7 +39,7 @@ class BrandedCheckoutStep1Controller { this.itemConfig.CAMPAIGN_CODE = '' } this.itemConfig['campaign-page'] = this.campaignPage - this.itemConfig.amount = this.amount + this.itemConfig.AMOUNT = this.amount // These lines calculate the price with fees for amounts coming in from the client site via component config if (this.amount) { diff --git a/src/app/branded/step-1/branded-checkout-step-1.spec.js b/src/app/branded/step-1/branded-checkout-step-1.spec.js index d63960a92..36c8c35ea 100644 --- a/src/app/branded/step-1/branded-checkout-step-1.spec.js +++ b/src/app/branded/step-1/branded-checkout-step-1.spec.js @@ -41,7 +41,7 @@ describe('branded checkout step 1', () => { expect($ctrl.itemConfig).toEqual({ CAMPAIGN_CODE: '1234', 'campaign-page': '135', - amount: '75', + AMOUNT: '75', priceWithFees: '$76.80', 'RECURRING_DAY_OF_MONTH': '9' })