Card via iPay88 drop-in
Integrate Card on your website or mobile application with just a few lines of code.
Before you begin
This guide assumes that you know how to
Accept payments with Card via iPay88
Prepare the client session
Card via iPay88 requires the following data to process a payment successfully. Pass the following data in the client session, or in the payment request (for manual payment creation).
Parameter Name | Required | Description | |
---|---|---|---|
currencyCode | ✔ | 3-letter currency code in ISO 4217 format, e.g. USD for US dollars | |
order ↳ lineItems | ✔ | Details of the line items of the order | |
order ↳ lineItems | ✔ | Description of the line item | /api-reference/v2.4/api-reference |
order ↳ countryCode | ✔ | Must by MY | |
customer ↳ firstName | ✔ | First name of the customer | |
customer ↳ lastName | ✔ | Last name of the customer | |
customer ↳ emailAddress | ✔ | Customer email address |
Prepare the SDK for payments
Pre-requisites
iPay88 requires the installation of a separate library via Cocoapods.
If you are using Cocoapods, add the line below in your Podfile
Show Universal Checkout
Card via iPay88 is automatically presented to the customer when calling Primer.shared.showUniversalCheckout
.
Customization
Check the customization guide to learn how to customize Universal Checkout.
Limitations
- Due to a limitation from iPay88, the library cannot be installed with Swift Package Manager
Pre-requisites
iPay88 requires the installation of a separate library via Cocoapods.
If you are using Cocoapods, add the line below in your Podfile
Show Universal Checkout
Card via iPay88 is automatically presented to the customer when calling Primer.shared.showUniversalCheckout
.
Customization
Check the customization guide to learn how to customize Universal Checkout.
Limitations
- Due to a limitation from iPay88, the library cannot be installed with Swift Package Manager
Pre-requisites
iPay88 requires the installation of a separate library.
ℹ️ Starting from version 1.0.3 onward, we are transitioning our SDK artifact distribution to Maven Central. This means you no longer need to reference the private Artifactory URL (PRIMER_ANDROID_ARTIFACTORY_URL) for future updates.
Please ensure that you remove any references to the Artifactory URL previously used for our SDK.
Amend the dependencies
section of your app’s build.gradle
to include the ipay88-my-android
library:
Show Universal Checkout
Card via iPay88 is automatically presented to the customer when calling Primer.showUniversalCheckout
.
Customization
Check the customization guide to learn how to customize Universal Checkout.
Show Universal Checkout
Card via iPay88 is automatically presented to the customer when calling Primer.showUniversalCheckout
.
Pre-requisites
iPay88 requires the installation of a separate library.
iOS
Open Podfile
inside the ./ios
directory of your React Native project. Then add the following:
Android
iPay88 requires the installation of a separate library.
ℹ️ Starting from version 1.0.3 onward, we are transitioning our SDK artifact distribution to Maven Central. This means you no longer need to reference the private Artifactory URL (PRIMER_ANDROID_ARTIFACTORY_URL) for future updates.
Please ensure that you remove any references to the Artifactory URL previously used for our SDK.
Amend the dependencies
section of your app’s build.gradle
to include the ipay88-my-android
library:
Show Universal Checkout
Card via iPay88 is automatically presented to the customer when callingPrimer.showUniversalCheckout
.
Customization
Check the customization guide to learn how to customize Universal Checkout.
Go live
You don’t need to do anything particular to go live — just make sure to use production credentials.