Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove “email address” field from stripe checkout

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”

like image 351
Geking poe Avatar asked Apr 17 '17 10:04

Geking poe


People also ask

Can you change a Stripe 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.

Does Stripe send emails in test mode?

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.

Does Stripe need address?

Stripe requires a valid physical US address.

How do I delete a payment link on Stripe?

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.


1 Answers

<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>

enter image description here

like image 101
AltAir Avatar answered Nov 05 '22 23:11

AltAir