Skip to main content
Rapyd is a payment service provider that offers card acquiring and local payment methods. With Primer, you can process card, Apple Pay and Google Pay payments through Rapyd, including saved payment methods and merchant-initiated payments.

At a glance

Supported payment methods

No Rapyd-specific SDK code is needed. Follow the payment method guides above.

Supported capabilities

3D Secure

Primer performs 3D Secure authentication using the Perform 3DS action and passes the result to Rapyd. Rapyd does not run its own 3D Secure for payments processed through Primer.

Get started with Rapyd

Before you begin

If this is your first connection, make sure to follow the Get started guide to begin processing payments with Primer. You need a Rapyd sandbox account for testing and a Rapyd production account for live payments. Before you go live, ask Rapyd to enable:
  • external 3D Secure (third-party MPI), if you use Primer 3DS
  • payment with a network reference ID, for saved cards and merchant-initiated payments
  • pre-authorization, if you capture less than the authorized amount
  • Apple Pay and Google Pay with decrypted payment data, if you offer wallets

Credentials

Configure in the Dashboard

1

Add Rapyd to your Dashboard

Go to Integrations, select New integration, search for Rapyd and enter your credentials.
2

Activate the payment methods on the Checkout

Go to Checkout and activate Card, Apple Pay and Google Pay.
3

Route payments with Workflows

In Workflows, select Rapyd in the Authorize payment action. Rapyd authorizes payments without capturing them, so add a Capture payment action, or capture later with the Capture API.

Prepare the client session

These fields are specific to Rapyd. Everything else follows the payment method guides. Also send a cardholder name for card payments by showing the cardholder name field in your card form. Primer sends it to Rapyd as fields.name.

Test in sandbox

Connect your Rapyd test account to your Primer Sandbox environment. Use one of these currencies: USD, EUR, GBP, DKK, NOK, SEK, AUD, PLN, RON, CHF, JPY, CZK, HKD or CAD, with an order country in the EU, the UK or Hong Kong. Use GBP when you test 3D Secure. Use any future expiry date and any 3-digit CVV.
To test an error, use a card that authorizes and set one of these amounts. Primer amounts are in minor units, so 4000.00 GBP is 400000.

Go live

Before switching to production, confirm that:
  1. Your Rapyd production account is active for card, Apple Pay and Google Pay payments.
  2. You have added Rapyd in your Primer production environment using your production credentials.
  3. Rapyd has enabled the features you use: external 3D Secure, payment with a network reference ID, pre-authorization for partial capture, and decrypted Apple Pay and Google Pay.
  4. Your Workflow captures Rapyd payments, either with a Capture payment action or through the Capture API.
  5. You handle the PAYMENT.STATUS webhook and fulfil orders only on a final status.