Skip to content

Commit c3c3551

Browse files
author
Avaer Kazmer
committed
Add query string to Stripe Connect authorize call
1 parent d743584 commit c3c3551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ <h3>
11041104
});
11051105
const connectStripeButton = document.getElementById('connect-stripe-button');
11061106
connectStripeButton.addEventListener('click', () => {
1107-
window.location.href = 'https://payments.exokit.org/authorize';
1107+
window.location.href = `https://payments.exokit.org/authorize?email=${encodeURIComponent(loginToken.email)}&token=${encodeURIComponent(loginToken.token)}`;
11081108
});
11091109

11101110
const userButton = document.getElementById('user-button');

0 commit comments

Comments
 (0)