I am trying to setup stripe for monthly subscription payment. Go here to view documentation I am following: stripe.com/docs/recipes/subscription-signup The problem i have to solve is the popup form contains “Email address” field but as per my application needs I already have users email address on my database. So I wanted to remove this “Email address” field from popup form. But as I have noticed the popup form is loading from stripe library https://checkout.stripe.com/checkout.js
<html>
<form action="create_subscription.php" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_P7fmeBSVkA66nU22Sk6BYUOn"
data-image="images/marketplace.png"
data-name="Emma's Farm CSA"
data-description="Subscription for 1 weekly box"
data-amount="2000"
data-label="Sign Me Up!">
</script>
</form>
</html>
How can I remove email address from payment popup window? Any idea? Check picture to view popup windows which asking “email address”
Log into the Stripe account. In the upper right corner, click the profile menu icon and select Profile. Enter the new email address in the Email field and click Save. Check the new email address for a confirmation email, and click the link in the email to confirm the change.
Stripe only sends email receipts for payments that are made with your live API key or through your live Dashboard. If you are expecting an email for a test transaction, one will not be sent.
Stripe requires a valid physical US address.
Deactivate a payment link After creating a payment link, you can't delete it. Instead, you can deactivate a payment link by setting the active parameter to false . After you deactivate a payment link, customers can no longer complete purchases using the link and are redirected to an expiration page instead.
<html>
<form action="create_subscription.php" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_P7fmeBSVkA66nU22Sk6BYUOn"
data-image="images/marketplace.png"
data-name="Emma's Farm CSA"
data-description="Subscription for 1 weekly box"
data-amount="2000"
data-label="Sign Me Up!"
data-email="[email protected]">
</script>
</form>
</html>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With