APP management
How to create an app
When the merchant is inactive
When the merchant is inactive
Enter Apps—Apply, fill in the application information and submit it. If it is not activated, you can only apply for up to five applications that only support payment types. After the application is successfully applied, it is in the test mode by default. At this time, there will be a payment limit of 500 US dollars, and the application uses Paynicorn's simulated payment method for payment, and there will be no deduction of the actual amount. You can enter the application list/Apps and click "Switch to production mode", this application will use the real payment method of Paynicorn when making payment, and the operation of switching the application to production mode is irreversible.
When the merchant is activated
Enter Apps—Apply, fill in the application information and submit it. When it is activated, you can apply for an unlimited number of applications, and the application supports collection, subscription, refund, and payment.
After the application is successfully applied, it is in the test mode by default. At this time, there will be a payment limit of 500 US dollars, and the application uses Paynicorn's simulated payment method for payment, and there will be no deduction of the actual amount. You can enter the application list/Apps and click "Switch to production mode", this application will use the real payment method of Paynicorn when making payment, and the operation of switching the application to production mode is irreversible.
Merchant has been activated
Enter Apps—Apply, fill in the application information and submit, the steps are the same as above, and the number of applications to apply is unlimited.
Front-end jump address (cpFrontPage)
After the user completes or cancels the payment process, from the paynicorn page back to the merchant's page, it can support web and android deeplink jumps
You can set the default cpFrontPage value in the application details of the dashboard. If the cpFrontPage parameter is not passed in the payment API, paynicorn will use this value to jump. For example, if the cpFrontPage parameter is passed in the payment API, the incoming The parameter will override the default value set in the dashboard
For android applications, you can set the deeplink jump address
In the manifest.xml file of the android application, add a special activity to receive the deeplink jump address set above
<activity
android:name="your-package-name.Your-activity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="your-scheme"
android:host="your-package-name"
android:path="/your-path"/>
</intent-filter>
</activity>
Backend notification address (Webhook)
After the paynicorn order status changes, paynicorn notifies the merchant server of the change of the order status through this address. By default, paynicorn will only notify for successful payment orders. Paynicorn will try to notify the address 10 times according to the decay strategy. After the server receives the notification, it needs to return the prefix string "success_" and concatenate txnId as required