Payment Services overview
The Payment Services drop-in component renders Payment Services payment methods, for example, credit/debit card form, Apple Pay, Google Pay, or PayPal buttons.
Supported payment methods
Section titled “Supported payment methods”The following table provides an overview of the payment methods that the Payment Services drop-in supports today, plus items on the roadmap. The “Payment method code” column lists the PaymentMethodCode enum value for each method:
| Payment method | Payment method code | Status |
|---|---|---|
| Apple Pay | APPLE_PAY | Supported |
| Credit/debit card | CREDIT_CARD | Supported |
| Google Pay | GOOGLE_PAY | Supported |
| Local payment methods (LPM) | APM | Roadmap |
| PayPal buttons | PAYPAL_BUTTONS | Supported |
| PayPal Fastlane | FASTLANE | Roadmap |
| Vaulted credit/debit card | VAULT | Roadmap |
Use the PaymentMethodCode enum from the API import:
import { PaymentMethodCode } from '@dropins/storefront-payment-services/api.js';Available containers
Section titled “Available containers”The Payment Services drop-in component provides four containers:
-
Apple Pay container: The
ApplePaycontainer renders an Apple Pay button that shoppers with Apple devices can use to place an order. -
Credit card container: The
CreditCardcontainer renders a form where shoppers enter their card details to place an order with a credit or debit card. -
Google Pay container: The
GooglePaycontainer renders a Google Pay button that shoppers can use to place an order. -
PayPal buttons container: The
PayPalButtonscontainer renders PayPal, Venmo, Pay Later, and debit/credit card buttons that shoppers can use to place an order.
Additional resources
Section titled “Additional resources”For more information, refer to the specific service documentation linked above.