1. Home
  2. Configure Stripe to accept payments from WiFi users

Configure Stripe to accept payments from WiFi users

Login to your Stripe account or Register here:
https://dashboard.stripe.com/login

If you don’t have a Stripe account, you’ll need to provide details about your business, how you plan to use Stripe and the business bank account where you want Stripe to send your payouts from transactions.

After creating your Stripe account, you’ll need to obtain your API keys. These keys are the authentication mechanism for communication with Stripe’s servers. In your Stripe Dashboard, navigate to the Developers section to locate and generate your API keys.

You are required to add and enable your domain in the Stripe Settings / Payments / Payments method domains tab.

Then go to Stripe Settings / Payments / Payments methods tab and set up and activate Cards and Wallets.

On the Cloud WiFi portal go to Payments / Payment Gateway, as Payment Gateway select Stripe (Automatic Payment Methods), and select Currency code.
Type Gateway login and Gateway password and save changes.

Go to your Splash page and in Login / Signup settings select Stripe (Automatic Payment Methods).

 

Add the following domains to whitelist Stripe:

*stripe*
m.stripe.com
r.stripe.com
api.stripe.com
stripe
js.stripe.com
m.stripe.network
merchant-ui-api.stripe.com
gstripe
hcaptcha.com
newassets.hcaptcha.com
api2.hcaptcha.com
api.hcaptcha.com
pay.google.com
www.gstatic.com
play.google.com

– if it does not work, try adding:

a.stripecdn.com
api.stripe.com
atlas.stripe.com
auth.stripe.com
b.stripecdn.com
billing.stripe.com
buy.stripe.com
c.stripecdn.com
checkout.stripe.com
climate.stripe.com
connect.stripe.com
dashboard.stripe.com
express.stripe.com
files.stripe.com
hooks.stripe.com
invoice.stripe.com
invoicedata.stripe.com
js.stripe.com
m.stripe.com
m.stripe.network
manage.stripe.com
pay.stripe.com
payments.stripe.com
q.stripe.com
qr.stripe.com
r.stripe.com
verify.stripe.com
stripe.com
terminal.stripe.com
uploads.stripe.com

The full list of IP addresses that api.stripe.com may resolve to:
https://docs.stripe.com/ips#ip-addresses

To ensure reliable payment processing with Stripe, especially in areas with unstable
internet connections, please configure the Stripe webhook:

1. Go to https://dashboard.stripe.com/webhooks
2. Add endpoint: https://wifihotspot.io/Payment/StripeWebhook
3. Select these 2 events only:
   – payment_intent.succeeded
   – payment_intent.payment_failed
4. Copy the webhook signing secret
5. Configure secret in the WiFi portal under payment gateway Stripe configuration.
Paste secret in the field called “Add special field (optional)” and save

Note: replace wifihotspot.io with your domain if you have whitelabel

Another improvement is ability to manually verify if Stripe payment is done but accidentally not updated as finished.

Customer can visit https://wifihotspot.io/Payment/StripeVerify
and type invoice ID generated by our system and sent in the stripe payment email.

Once the invoice is entered, it will query Stripe and update our system record.
When successful it will generate or update user wifi account.

You can make a button or link on the splash page that points to this URL so in case of any issues user can activate their account.

Updated on November 17, 2025

Was this article helpful?