Skip to Content
Docs

Alternative payment methods

Accept bank transfers, wallets, vouchers, and pay by mobile with Universal checkout, Headless checkout, or from your server.

Alternative payment methods (APMs) include bank transfers such as iDEAL and Trustly, wallets such as PayPal and Skrill, vouchers such as paysafecard, and pay by mobile. For Apple Pay and Google Pay, see Wallets. Each method's page in Payment methods lists its countries, currencies, and the integrations it supports.

How an APM payment works

An APM payment follows the same four steps in every integration.

  1. The customer selects the method at checkout.
  2. The customer goes to the method's page, their bank, or their app to approve the payment. With Pay.com.js, the method opens in a window over your page or in a new tab, depending on the method. From your server, you redirect the customer to the url of a linked authentication session.
  3. The customer approves or cancels the payment, and returns to your page.
  4. Pay.com updates the charge's status and sends a webhook event.

The charge's status is requires_authentication until the customer approves the payment. It then moves to succeeded, or to pending while the method confirms the payment. It moves to failed when the customer cancels or the method declines. For most methods, a charge the customer doesn't finish moves to failed when its authentication session expires, 60 minutes by default.

Choose an integration

Choose the integration by how much of the checkout you build.

IntegrationWhat you buildHow the customer reaches the method
Universal checkoutA page that mounts Universal checkout's payment form, which lists your methodsPay.com.js opens the method in a window over your page or in a new tab
Headless checkoutYour own method selector and fields, and Pay.com.js starts each paymentPay.com.js opens the method in a window over your page or in a new tab
Server-to-serverYour own checkout, and the API calls from your serverYou redirect the customer to the authentication session's url

Each method's page lists the integrations it supports.

Turn on payment methods

Your account manager enables each payment method on your account. You then choose in the Pay.com dashboard which of those methods customers see at checkout. If a method is missing from the list, ask your account manager to enable it.

  1. 1

    Open your account settings

    Click your profile name in the top-right corner of the Pay.com dashboard and select Settings.

  2. 2

    Open the payment methods configuration

    In the settings menu, go to Payment Methods Configuration.

  3. 3

    Open the default configuration

    Select the Default Configuration Set. It shows the payment methods on your account that customers see at checkout.

  4. 4

    Edit the configuration

    Click Edit in the top-right corner of the page.

  5. 5

    Choose the methods and save

    In the Payment Method Types section, click Select Payment Methods. Select each method to show at checkout, clear any method to hide it, and click Save.

    The Select Payment Methods dialog in the Pay.com dashboard, with a checkbox for each payment method and a Save button

Listen for webhooks

Confirm every APM payment on your server with webhook events. The browser callbacks and the customer's return to your page don't confirm a payment.

EventWhen it firesWhat to do
charge.pendingThe customer approved the payment, and the method hasn't confirmed it yetWait for charge.succeeded or charge.failed
charge.succeededThe customer approved the payment, and it completedFulfill the order
charge.failedThe customer canceled, the method declined the payment, or the authentication session expiredAsk the customer to pay again or use another method

Creating a charge doesn't send a webhook event. Verify the Pay-Signature header before you act on an event. See Verify webhook signatures.

Refunds

Most APMs support refunds in full or in part, and each method's page says which it supports. See Refund a charge.

Next steps

Was this page helpful?