Skip to main content
Native Plugins & Integrations1 min read

Payment Gateways: Stripe, Razorpay and PayPal

Accept payments for WooCommerce orders in your app with Stripe's payment sheet, Razorpay checkout or PayPal, plus test mode, webhooks and App Store rules.

Overview

Payment gateways let shoppers pay WooCommerce orders natively in your app:

GatewayHow it works in the app
StripeStripe's native payment sheet, including Apple Pay and Google Pay
RazorpayRazorpay's native checkout, including UPI apps
PayPalPayPal in a secure in-app browser window

Shopify stores do not need a gateway: they always pay in Shopify Checkout. See Shopify integration.

Set up a gateway

  1. Open Integrations › E-commerce › Payments.
  2. Add your gateway keys, starting in Test mode. Going Live needs live keys.
  3. Add the webhook shown (recommended), so payments are confirmed even if a shopper closes the app during payment.
  4. Save.

Adding Stripe or Razorpay for the first time needs a new build, because their native SDKs are compiled into the app. PayPal and settings changes do not.

App Store rules for digital goods

Warning

Under App Store guidelines 3.1.1 and 3.1.5(a), Stripe, Razorpay and PayPal may only sell physical goods and services used outside the app. Digital content, memberships or in-app features must use Apple's In-App Purchase, or the iOS app will be rejected. See In-app purchases.

Test payments

  1. Use test keys and Test mode.
  2. Install a build that includes the gateway and place a test order.
  3. Check that the order turns paid in WooCommerce. Switch to live keys only when everything works.

Next steps