@netceterapx/click-to-pay-sdk 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -18
- package/build/click-to-pay-sdk.es.js +17969 -0
- package/build/click-to-pay-sdk.js +1 -0
- package/index.d.ts +910 -0
- package/package.json +10 -5
- package/dist/build/click-to-pay-sdk.js +0 -1
package/README.md
CHANGED
|
@@ -104,24 +104,6 @@ clickToPay.config = {
|
|
|
104
104
|
|
|
105
105
|
Note: The `config.iframe.ref` property is required when using a custom window.
|
|
106
106
|
|
|
107
|
-
`profileDetails` This prop contains user data that is passed to the credit card brand DCF. For example, this can be useful
|
|
108
|
-
when the merchant has a logged-in user data which it can pass to the DCF, as to make some form fields already pre-filled.
|
|
109
|
-
|
|
110
|
-
```js
|
|
111
|
-
clickToPay.profileDetails = {
|
|
112
|
-
fullName: "John Doe",
|
|
113
|
-
firstName: "John",
|
|
114
|
-
lastName: "Doe",
|
|
115
|
-
email: "john-doe@company.com",
|
|
116
|
-
billingAddress: {
|
|
117
|
-
countryCode: "US",
|
|
118
|
-
name: "John",
|
|
119
|
-
line1: "29501 PACIFIC FEDERAL WAY WA 98003-3869 USA",
|
|
120
|
-
city: "Washington",
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
```
|
|
124
|
-
|
|
125
107
|
`transactionAmount` This prop contains the amount and currency code associated with the transaction that are shown on the payment button.
|
|
126
108
|
It is a required prop.
|
|
127
109
|
|