Rapyd

276 zobrazení Markdown

Collect card payments with Rapyd and automate renewals through a Rapyd subscription or a saved card.

Reaching the Screen

Go to Settings → Financial → Payment Gateways, open All Modules and click the Rapyd card: {admin}/modules/payment?module=Rapyd

Tick Status and save to list the method on the payment step as Pay with Rapyd. Use Payment Gateways to order the methods clients see.

What Is on the Screen

The card holds your Rapyd keys, the environment switch, the subscription settings and the shared gateway settings.

The client enters card details in the card form on the order step and on the payment page. Rapyd charges the card right away. When the bank asks for 3-D verification, the client visits the bank's page and returns to the site.

Renewable items can be paid as a subscription that Rapyd charges on its own for the following cycles. A card can also be saved and charged later without the client. Installments are not supported.

Before You Configure It

  • An account in the Rapyd Client Portal. Use the sandbox for testing and production for live payments; keys, customers and saved cards are kept apart.
  • The key pair of the environment you use. It is under Developers → Credentials Details in the Client Portal.
  • A webhook address registered on the same account. This is how payment results reach your site.
  • A currency Rapyd accepts in the client's country. If needed, use Converting Currency to charge in an accepted currency.

Fields

StatusTurns the module on. While it is off the other fields stay locked and clients are never offered the method.
Access KeyRequired. The access key from the Client Portal. Every request to Rapyd is signed with it.
Secret KeyRequired. The secret key that verifies requests and incoming notifications. Rapyd shows it only once, when it is issued.
Test ModeSends every request to Rapyd's test environment, where no money moves. On by default.
Payment Method CategoriesThe method groups offered on Rapyd's payment page, comma separated: bank_redirect, bank_transfer, card, cash, ewallet. The default is card. Leave it empty to offer every group open in the client's country.
Card Payment Method TypeOptional. A fixed Rapyd card type for card payments, for example us_visa_card. Leave it empty to resolve the type from the client's country and card brand.
Disable SubscriptionsWhen ticked, no subscription option is offered and payments are taken once. Off by default.
Update Subscription FeeKeeps the recurring amount at Rapyd in step with the service price when that price changes.

For commission, currency conversion, amount and country limits, see Payment Configuration. Callback URL, Success URL and Failed URL cannot be edited. Copy the callback address with its icon.

Tasks

Connect your Rapyd account

  1. In the Client Portal, while in the sandbox, open Developers → Credentials Details and copy the key pair.
  2. Open the Rapyd card under All Modules and tick Status.
  3. Paste the keys into Access Key and Secret Key, and keep Test Mode ticked.
  4. Click Save Changes. The method now appears on the payment step.

Register the notification address

  1. Copy the address in Callback URL on the module card.
  2. In the Client Portal, open Developers → Webhooks → Management. Click Edit URL, paste the address and click Save URL.
  3. Under Collect, tick the payment events, at least Payment Completed, and save. Notifications now reach your site and are verified with your keys.

Run a test payment

  1. Place a small order as a client and choose Pay with Rapyd on the payment step.
  2. Enter a Rapyd sandbox test card in the card form and confirm the order.
  3. Approve the bank check if it opens. The invoice is marked as paid and the order is activated.

Switch to live

  1. Leave sandbox mode in the Client Portal, copy the production keys and register the webhook there too.
  2. Replace Access Key and Secret Key with the production keys.
  3. Untick Test Mode and save. Repeat the test with a real low-value payment.

Let clients start a subscription

  1. The client picks the renewable items on the panel of the payment page and clicks Begin Subscription. All picked items must share one billing cycle.
  2. The client makes the first payment on Rapyd's page and saves the card. Rapyd charges the following cycles on its own.
  3. The agreement is listed under Subscriptions, where you can cancel it. Tick Update Subscription Fee to keep the recurring amount in step with the service price.

The order step shows only the card form; the subscription option is offered on the payment page. Rapyd bills cycles of up to one year, so items on a longer cycle do not appear on the panel.

The subscription option is shown only to clients with an account. A guest who orders without signing in pays once. In 5.0-beta.4 and earlier, guests also see the option, but once selected it falls back to a one-time card payment.

Offer saved cards and automatic payment

  1. Open Payment Gateways → Initial → Card Storage Module, select Rapyd and save.
  2. The client adds a card from their own account. The details go from the site's form to Rapyd and are saved on the client's Rapyd profile.
  3. The client selects Turn On Auto-Pay from the card menu under Saved Cards. Renewal invoices can then use automatic collection.

Refund a payment

  1. Open the invoice from Invoice Detail.
  2. Under Summary → Change Status, select Refunded and Refund via payment gateway. Click Update Status.
  3. Rapyd returns the payment taken for this invoice.

If one payment settled several invoices, only this invoice's share is refunded, in the payment's currency. If the share cannot be worked out, no refund is sent and a warning appears; refund on the Rapyd side and mark the invoice Refunded without selecting Refund via payment gateway. In 5.0-beta.4 and earlier, Rapyd returns the whole payment in this case; make partial refunds on the Rapyd side.

Things to Watch

Register the webhook address

Without it, the payment result is read only when the client returns to the site. If the client does not return, the invoice can stay open although the payment was taken.

Sandbox and production are separate environments

A sandbox key collects nothing and is refused in production. Saved cards and subscriptions created in the sandbox do not exist on the live side. Change the keys and Test Mode together.

A subscription needs a saved card

If the client does not save the card on Rapyd's page, or pays with a method other than a card, the first payment is taken but no subscription opens. Keep card in Payment Method Categories for subscriptions.

Required Privileges

Settings require Payment Gateways (MODULES_PAYMENT_SETTINGS). Invoice changes require Billing → Edit (INVOICES_OPERATION).

Byl tento článek užitečný?

Zpětná vazba byla odeslána!

Stále potřebujete pomoc?

Tým podpory je nepřetržitě k dispozici pro vše, co ve znalostní bázi chybí.