PAYON Payment Gateways Developer
  • Table of Content
  • Revision History
  • PAYON PG Overview
    • PAYON PG UI DESIGN
      • Desktop UI Screen
      • Mobile UI Screen
  • How it Work ?
    • QR Payment via Mobile Apps
  • Work Flows
    • Payment Work Flow
      • Overall QR Payment Process
      • Overall 3rd Party Payment Process
      • Overall Credit/Debit Payment Process - 3Ds
  • How to Implement ?
    • How to Implement QR Payment
      • Web Base Implementation
        • Step 1: Prepare to read KHQR
        • Step 2: Notify QR Scan Screen
        • Step 3: Notify Processing Payment
        • Step 4: Notify Completion Payment
      • Mobile Base Implementation
  • PAYON API RERFERENCES
    • QR Payment
      • Notify QR Scan
      • Notify Processing Payment
      • Notify Completion Payment
      • QR Cancel Payment
Powered by GitBook
On this page
  1. How to Implement ?
  2. How to Implement QR Payment

Mobile Base Implementation

Prepare Scheme format

in info.plist file


<array>
	<dist>
		<key>CFBundleURLSchemes</key>
		<array>
			<string>payon.online.card</string>
		</array>
	</dist>
</array>

In Manifest.xml file

<activity
    android:name="Your Activity"
    android:configChanges="orientation|screenSize"
    android:screenOrientation="portrait"
    android:exported="true">
    <intent-filter android:label="filter_title_view_app_from_web">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />

        <data android:scheme="payon.online.card"
            android:pathPrefix="/parameters"
            android:host="payon" />

    </intent-filter>
</activity>an

Scheme Format

payon.online.card://[name]?data=callbackData

Example Scheme format defined by PAYON Apps

payon.online.card://payon/parameters/?data=000201010212520458115802KH5921PAYON PAYMENT GATEWAY6010PHNOM PENH5303840540136257011620211201000080350308C00001430710CT030000038302108401991250012kh.com.payon0105PAYON6304CF50

Data Format

The data format will be in KHQR format by Bakong. Please see PAYON's KHQR Specification

PreviousStep 4: Notify Completion PaymentNextQR Payment

Last updated 3 years ago