@capacitor-plugin/googlepay-issuer-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

capacitor-plugin-googlepay-issuer

Plugin do Google Pay para o Capacitor

Required

This plugin required Tap And Pay 17.1.0 SDK, access https://developers.google.com/pay/issuers

Install

npm install capacitor-plugin-googlepay-issuer
npx cap sync

On Android, register the plugin in your main activity:

import com.google.android.capacitor.googlepay.issuer.GooglePayIssuerPlugin;

public class MainActivity extends BridgeActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Initializes the Bridge
    this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
      // Additional plugins you've installed go here
      // Ex: add(TotallyAwesomePlugin.class);
      add(GooglePayIssuerPlugin.class);
    }});
  }
}

API

getActiveWalletID()

getActiveWalletID() => any

returns the ID of the active wallet

Returns: any


getTokenStatus(...)

getTokenStatus(options: { tsp: string; tokenReferenceId: string; }) => any

returns the status of a token with a given token ID

Param Type
options { tsp: string; tokenReferenceId: string; }

Returns: any


getEnvironment()

getEnvironment() => any

returns the environment (e.g. production or sandbox)

Returns: any


getStableHardwareId()

getStableHardwareId() => any

returns the stable hardware ID of the device

Returns: any


listTokens()

listTokens() => any

returns a list of tokens registered to the active wallet

Returns: any


pushProvision(...)

pushProvision(options: { opc: string; tsp: string; clientName: string; lastDigits: string; address: any; }) => any

Starts the push tokenization flow

Param Type
options { opc: string; tsp: string; clientName: string; lastDigits: string; address: any; }

Returns: any


Readme

Keywords

Package Sidebar

Install

npm i @capacitor-plugin/googlepay-issuer-plugin

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

36.7 kB

Total Files

20

Last publish

Collaborators

  • sinnerangel