Skip to main content
This page is part of the Payments Library Guides. Back to Library Setup →
The Orchestra Payments Library supports multiple payment methods through a unified API. Each payment method has its own availability requirements and user experience, but all follow the same integration pattern.

Available Payment Methods

Availability at a Glance

Payment MethodDesktopMobile WebiOS AppAndroid App
CardPayYesYesYesYes
Apple PaySafari onlySafari onlyYesNo
Google PayChromeChromeNoYes
PayPalYesYesYesYes
BankPayYesYesYesYes
UPIYesYesYesYes

Common Integration Pattern

All payment methods follow the same integration pattern:
// 1. Check availability
const available = await engine.checkAvailability();

// 2. Filter to available methods
const buttons = [
  { name: 'CardPay', domEntitySelector: '#card-button' },
  { name: 'ApplePay', domEntitySelector: '#applepay-button' },
  { name: 'GooglePay', domEntitySelector: '#gpay-button' },
  { name: 'PayPal', domEntitySelector: '#paypal-button' }
].filter(btn => available.includes(btn.name));

// 3. Render buttons
engine.payBy(buttons, handleResult, { color: 'Dark', text: 'Pay' });

Result Handling

All payment methods return results through the same callback. See Result Handling for details on parsing and validating payment results.