Skip to content

Commit

Permalink
Merge branch 'fix-branded-amount-handling' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandall22 committed Oct 27, 2023
2 parents ead93d8 + 3385a50 commit b7787e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/branded/step-1/branded-checkout-step-1.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
Expand Down

0 comments on commit b7787e0

Please sign in to comment.