Initialize using npm
4min
Install @pay3/sdk package using package manager which adds it to your packages.json
The above command will add pay3 js sdk to dependencies section of your package.json
Pay3 SDK supports Fiat Checkout flow using payment only mode.
Pay3 team shares hostname and clientId during onboarding. Following parameters can be used for creating new instance of Pay3.
Parameters
- hostname: Pay3 will be opened in a new window using this hostname prefix. The host name is environment dependent.
- clientId: A unique client ID is created for each client application. The client ID is environment dependent.
- isPaymentMode : Pass true for fiat checkout in payments only mode.
- lang (optional, default value 'en'): This parameter specifies the language preference for the Pay3 SDK. The strings used follow two letter language code as in ISO 639-1. Example pt for Portuguese, en for English.
Updated 26 Jun 2024
Did this page help you?