@capgo/capacitor-pay
Capacitor plugin to trigger native payment for iOS(Apple pay) and Android(Google Pay).
Overview
Section titled “Overview”Capacitor plugin to trigger native payment for iOS(Apple pay) and Android(Google Pay).
Core Capabilities
Section titled “Core Capabilities”isPayAvailable- Checks whether native pay is available on the current platform. On iOS this evaluates Apple Pay, on Android it evaluates Google Pay.requestPayment- Presents the native pay sheet for the current platform. Provide the Apple Pay configuration on iOS and the Google Pay configuration on Android.
Public API
Section titled “Public API”| Method | Description |
|---|---|
isPayAvailable | Checks whether native pay is available on the current platform. On iOS this evaluates Apple Pay, on Android it evaluates Google Pay. |
requestPayment | Presents the native pay sheet for the current platform. Provide the Apple Pay configuration on iOS and the Google Pay configuration on Android. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-pay.