Skip to main content
You are here: Passport JS EVM SDK

Monetary Transactions

Overview

This section discusses how to manage monetary transactions using the Passport JS EVM SDK in Credenza. It includes handling stored value purchases, understanding tokens and memberships, and managing transfers.

Integrations

Apple Pay

Credenza must verify your domain with our payment provider. If your agreement is eligible for ApplePay support, please reach out to your Credenza contact.

Google Pay

Google Pay Is available and enabled on all supported devices by default.

Events

Payment

Triggers when transaction is completed

javascript
 passport.on('PAYMENT', async (data) => {
  console.log('Payment', {type, data})
})

Error

Triggers when an error occurs

javascript
passport.on('ERROR', async (error) => {
  console.log('Error', errorData)
})