Ionic Capacitor Plugin to show native mobile wallet dialogs like ApplePay, Google pay, then get the nonce using the Braintree native api.
- Clone this project into your local folder.
- From command prompt go to the project folder.
- Build the project: npm run build
Go to your project that uses this package.
npm install ionic-braintree-wallet
npx cap sync
canMakePayments(options: { btAuthorization: string; }) => Promise<{ result: boolean; }>
| Param |
Type |
options |
{ btAuthorization: string; } |
Returns: Promise<{ result: boolean; }>
mobilePay(options: MobilePayOptions) => Promise<MobilePayResult>
Returns: Promise<MobilePayResult>
| Prop |
Type |
nonce |
string |
contactFirstName |
string |
contactLastName |
string |
contactPhone |
string |
contactEmail |
string |
| Prop |
Type |
btAuthorization |
string |
merchantId |
string |
paymentSummaryItems |
PaymentSummaryItem[] |
| Prop |
Type |
label |
string |
amount |
number |