Skip to content

Commit

Permalink
Adding logs to branded checkout to ensure it's grabbing the window.do…
Browse files Browse the repository at this point in the history
…norDetails correctly. I will remove logs once finished on staging

Adding logs to branded checkout to ensure it's grabbing the window.donorDetails correctly. I will remove logs once finished on staging
  • Loading branch information
dr-bizz committed Dec 2, 2023
1 parent 831d3a0 commit 1f4490c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/branded/branded-checkout.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ class BrandedCheckoutController {
}

formatDonorDetails () {
console.log('BrandedCheckoutController.formatDonorDetails', this.$window)
console.log('BrandedCheckoutController.donorDetailsVariable', this.donorDetailsVariable)
console.log('BrandedCheckoutController.window.donorDetails', this.$window.donorDetails)
console.log('BrandedCheckoutController.window.donorDetailsVariable', this.$window[this.donorDetailsVariable])
if (this.donorDetailsVariable && this.$window[this.donorDetailsVariable]) {
this.donorDetails = this.$window[this.donorDetailsVariable]

Expand All @@ -69,6 +73,7 @@ class BrandedCheckoutController {
this.donorDetails.mailingAddress = mailingAddress
}
}
console.log('BrandedCheckoutController.donorDetails', this.donorDetails)
}

next () {
Expand Down

0 comments on commit 1f4490c

Please sign in to comment.