You can create the keys using Security section, public keys are the keys that you are going to share it with us and private keys are going to be used in generating the JWT to communicate with NearPay when using any function like purchase , refund , etc.
Which package name should I share ?
You need to share the package name for the Android project with the NearPay team.
How can I change the environment ?
You can define the environment in Nearpay project
val nearpay =NearPay(this, jwt, Locale.getDefault(), Environments.SANDBOX)
What are the different environments ?
We have three main environments:
SandBox : where you integrate the SDK on Sandbox Environment.
Testing : we will test your app with Saudi Payment and get it approved
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
How can I get the client uuid ?
NearPay Team will send you a client uuid once we have received the public key and the android package name.
When do I need to logout ?
When NearPay service is no longer needed .
For example when the users logout from your app , they need to logout from NearPay service as well so they can not use the service when they are logged out .
What is reconciliation ?
Payment reconciliation is an accounting process that verifies account balances to ensure all sets of records are true, consistent, and up-to-date. Businesses can reconcile their accounts daily, weekly, or monthly.
What is a customer reference number ?
Customer reference number is a number that identifies your customer ID, so you can assign any number you want as customer reference number , also it is optional so you can leave it empty if you wish.
You can use customer reference number in Purchase and Refund.
How can I make a purchase ?
You can just call purchase and our UI will show up to make a payment.