We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765e4ec commit 6ead706Copy full SHA for 6ead706
djangoproject/static/js/mod/stripe-donation.js
@@ -20,7 +20,7 @@ define([
20
data: data,
21
dataType: 'json',
22
success: (data) => {
23
- console.log(data);
+ console.debug(data);
24
if (data.success) {
25
const stripe = Stripe($donationForm.data('stripeKey'));
26
return stripe.redirectToCheckout({ sessionId: data.sessionId });
@@ -51,7 +51,7 @@ define([
51
// NOTE: the `action` key must match the one defined on the widget.
52
grecaptcha.execute(public_key, { action: 'form' }).then((token) => {
53
captcha_input.value = token;
54
- console.log('reCAPTCHA validated. Posting to stripe...');
+ console.debug('reCAPTCHA validated. Posting to stripe...');
55
postToStripe(token);
56
});
57
0 commit comments