Skip to content

Commit

Permalink
fix: fixes bugs with causes signup form success state
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie Ferrer committed Nov 24, 2021
1 parent 37f3e93 commit e7d6a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Causes/CausesDropInPaymentWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default {
// Transaction is complete
// eslint-disable-next-line max-len
const causeSignUpSuccess = kivaBraintreeResponse.data?.id;
const causeSignUpSuccess = kivaBraintreeResponse.data?.createSubscription?.id;
if (causeSignUpSuccess) {
// fire BT Success event
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Causes/SignupForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default {
this.success = true;
this.$kvTrackEvent('Registration', 'successful-causes-reg', 'register-causes');
this.$router.push({
path: 'causes/thanks',
path: '/causes/thanks',
});
},
},
Expand Down

0 comments on commit e7d6a28

Please sign in to comment.