Processing Apple Pay in Web or iOS App
To initiate an Apple Pay transaction, merchants are required to create a payment request and POST it to the specified URL. This process mirrors the current transaction processing flow used by the merchant.
https://<<base_url>>/gateway/order.json
Mandatory Parameters for Processing Apple Pay
Field | Value | Description |
---|---|---|
ivp_method | create | Set value as ‘create’ |
ivp_store | 15164 | Your store ID |
ivp_authkey | cxkwshbs68ejbh | V2 Authentication Key |
ivp_amount | 10 | Transaction amount |
ivp_currency | AED | Transaction currency |
ivp_test | 0 | Test mode indicator |
ivp_desc | Description | Purchase description |
return_auth | return url for authorised transaction | Return url for authorised transaction |
return_decl | return url upon declined | Return url for declined transaction |
return_can | return url upon cancelled | Return url for cancelled transaction |
bill_fname | FirstName | The customer’s forename plus any other middle names or initials they may have. |
bill_sname | Lastname | Customer surname (also known as family name) |
bill_addr1 | Address | Customer address |
bill_city | city | City |
bill_region | Region | Region |
bill_country | Country | Country |
bill_zip | 123456 | Zip code |
bill_email | [email protected] | Email address |
ivp_lang | en | Payment Page interface language |
ivp_cart | CartID | Your reference for the transaction. For example this could be a cart ID or order ID generated by your shopping system. This must be unique for each request. Maximum length is 63 characters. |
Note:
IFrame functionality is not supported under Configuration 2 and If you are choosing to go ahead with Configuration 2, then you have to utilize Telr’s Hosted Payment Page.
If you wish to use the iFrame payment mode, then we would suggest you to opt for Configuration 1 implementation