npm run init // Setup the local environment
npm run dev // Run the development server
| Name | Description |
|---|---|
| locale | The locale that should be used for internationalization. Values: en | da | se | no |
| method | The preferred payment method which should be used. Values: applePay | mobilePay | card |
| decimal | The amount to initiate a payment with. Example: 100.01 |
| currency | The currency to initiate a payment with. Example: DKK |
| redirect | The URL to redirect to when payment is successful. Example: https://example.com |
| Type | Number | Expiry | CSC |
|---|---|---|---|
| Mastercard | 5425233430109903 | 12/2026 | |
| Visa | 4263982640269299 | 02/2026 | 837 |