Payment Gateway Settings

Stripe
- Log in to the Stripe dashboard — https://dashboard.stripe.com/
- You will find your Publishable key and Secret key in the dashboard.
3. Docs - https://docs.stripe.com/payments?payments=popular
Razorpay
- Go to https://dashboard.razorpay.com/ and sign in with your Razorpay account

- Click Settings

- Click Api keys

- Genetare new key or regenerate key and copy it.

Flutterwave
- Log in to the Flutterwave dashboard — https://app.flutterwave.com/login
- In Settings → Developers → API Keys, you can find your keys.

- Docs - https://developer.flutterwave.com/docs/getting-started?_gl=1*1xkvvzx*_gcl_au*MTQxNjg3NzkzOC4xNzY0MjU2Nzg1*_ga*MTg3MTEwMDMzNy4xNzY0MjMwNzI5*_ga_KQ9NSEMFCF*czE3NjQyNTY3NDgkbzEkZzEkdDE3NjQyNTY3ODUkajIzJGwwJGgw
App Store/ In App Purchase
1. Issuer ID, Key ID, and Private Key (.p8)
Where: App Store Connect → Users and Access → Integrations → App Store Connect API
Link: App Store Connect API
Steps:
- Log in to App Store Connect with an Admin or Account Holder role.
- Go to Users and Access → Integrations → App Store Connect API.
- Click the Keys tab (In-App Purchase keys, not Team keys).
- Click "+" to generate a new key.
- Give it a name (e.g., "IAP Server Key") and select the In-App Purchase key type.
- Click Generate.
- Copy the Key ID shown in the table.
- Download the .p8 file — you can only download it once, so save it securely.
- The Issuer ID is shown at the top of the page.
Open the .p8 file in a text editor and paste the full contents (including -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY----- lines) into the Private Key field.

2. Bundle ID
Where: App Store Connect → Apps → [Your App] → General → App Information
Links:
It's your iOS app's bundle identifier, e.g., com.demo.customer.
3. Environment
- Sandbox (Testing): Use this during development/testing.
- Production: Switch to this when your app is live on the App Store.
4. App Store Server Notifications URL
Where: App Store Connect → Apps → [Your App] → App Information → App Store Server Notifications
Link: App Store Connect → select your app → App Information (left sidebar) → scroll to App Store Server Notifications.
Steps:
- Set the Production Server URL and Sandbox Server URL to the webhook URL shown in your settings panel (replace
127.0.0.1:8000with your actual production domain). - Select Version 2 for notifications (recommended).
Important Notes:
- You need an Apple Developer Program membership ($99/year): Apple Developer Programs
- The API key must be of type In-App Purchase (not App Store Connect team keys).
- For production, your webhook URL must be HTTPS on a public domain —
127.0.0.1won't work.
Store Credit
