#stickyjams-checkout-terms

1 messages · Page 1 of 1 (latest)

tranquil gazelle
#

Hey @sudden fiber

#

We don't have this feature yet but we're actively working on it. If you DM me your account id I can flag to the team and they can reach out

sudden fiber
#

Hmm

#

I suppose I could do it between the payment injection and the pay button?

#

<div id="payment-element">
<!--Stripe.js injects the Payment Element-->
</div>
<div>
<input type="checkbox" id="acceptTerms" name="terms" value="agree"> I accept the terms, etc.
</div>
<button id="submit">
<div class="spinner hidden" id="spinner"></div>
<span id="button-text">Pay now</span>
</button>

tranquil gazelle
#

ah so you don't use Checkout at all

#

Then yeah you would just build your own UI/validation

sudden fiber
#

gotcha

#

and then i can cancel out before sending it if not checked

tranquil gazelle
#

yeah

silent bear
#

Hi @sudden fiber I'm taking over this thread

sudden fiber
#

hi

#

just one other question

#

when adding the email to the billing details, is there an out of the box email validation?

#

i did not see one within the docs

silent bear
#

No, Stripe doesn't perform email address validation.

sudden fiber
#

okay, and actually, sorry one more question

#

with receipts

#

i understand that i can use receipt_email in the confirm params to have stripe send a receipt

#

is there a way that I can have this fire off in testing, so that I can understand how it works?

silent bear
#

Sure, you can send a receipt from Dashboard even in test mode.

#

Go to the PaymentIntent page, and click on the Send receipt button.