Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Редакция КоммитРедакция портала
commit 05f8ff9 · 19 days ago

Online payment, part 5: payment in the mobile app — SDK, WebView, Apple Pay, Google Pay, and store policies

🌐 Machine-translated from Russian. Show original

i️ Terms are changing. Prices, rates, and features are as of November 2026. Before purchasing or implementing, please check the official websites.

In this part:

First—app store rules#

This is the most important question to resolve before development:

  • Physical goods and services (delivery, taxi, booking, real-world services) can usually be paid for using their own payment methods: bank card, banking apps, Apple Pay, and Google Pay.
  • Digital goods and in-app subscriptions (premium features, in-game currency, digital content) are typically required by app stores to sell through their in-app purchase system with store commissions.

App Store and Google Play policies change and vary by country — check the current rules before designing payments.

Integration options#

OptionProsCons
bank or payment service SDKnative interface, the bestU not everyone has it; update support is needed
The payment page in WebView/browserworks with any bank, just3-D Secure and transitions to bank apps need to be handled
Navigating to the bank's app (deep link)familiar to usersyou need to correctly return the user

WebView: what to pay attention to#

  • Open the payment page in the system's built-in browser (SFSafariViewController, Custom Tabs), not in the "bare" WebView — this way 3-D Secure, autofill, and navigation to banking applications work better.
  • Process returns at the return address or deep link of your app.
  • After a return, always ask your server for the status — don't rely solely on the fact of the return.

Apple Pay and Google Pay#

  • Connect through your acquirer or payment service if they support them.
  • Apple Pay requires a merchant ID and certificates in the Apple developer account; Google Pay requires setup in the Google Pay console and tokens from the acquirer.
  • The buyer pays with a fingerprint or face without entering the card — the conversion noticeably increases.

Architecture#

  • The mobile app never stores the bank's secret keys. The payment is created by your server; the app only receives the link or one-time data for the SDK.
  • Payment status — from your server, which receives a callback from the bank (part 3.
  • Restarting the app during checkout: when opening the order screen, check the status of the last payment.

Device testing#

  • Different banks and methods of 3-D Secure verification.
  • Folding the app during payment and returns.
  • Poor network and loss of connection.
  • Refusal of payment and retry.
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.