Adding a Second Payment Provider Safely
Adding a second payment provider is one of the most common changes that a busy payments team makes over time. For example, a new market may need a local method, or a fallback is needed for a sudden provider outage. Each reason is sound, yet each one can break checkout when the change is rushed and only tested in haste. DaletPay turns the change into a list of checks, and the first check is the capability card of the provider. Then your team enters the keys, runs a test and decides what goes live, while checkout keeps calling one interface.
So the customer sees no new flow unless you choose to show one. Also, each step leaves a record in the audit trail. As a result, a second payment provider becomes a planned change, not a rewrite.
Key takeaway
Add a second provider in four steps: read its capability card, enter credentials, test in a sandbox and then decide what goes live. Checkout keeps calling the same interface throughout.
Why does a second provider so often break your checkout?
At first, many checkouts were built around one provider. The payment call, the error messages and the status handling all assume how that provider behaves. When a new provider arrives, the team often copies the first integration and changes a few values. However, that shortcut hides gaps that matter.
For instance, one provider may refuse a partial capture, while the other accepts it. Similarly, one may return a pending status for a card that the other declines at once. Also, a rushed provider addition for a second payment provider loses the record of what changed. Keys for another provider get pasted into a file, and events are sent to the wrong endpoint.
Each gap adds risk to the second payment provider, and each one takes time to trace.
What does a safe path to a new provider look like today?
For a second payment provider, a safe path has four steps. Each step has one owner and one exit test. The steps run in order. Therefore, a failed test stops the next step until the cause is found.
- Read the capability card to see if the provider declares the actions your checkout needs.
- Enter the credentials as write-only values, with the environment set to sandbox.
- Run the sandbox test on actions, refunds, events and the reconciliation check.
- Make the go-live decision after a review, with a named approver for the live connection.
Notably, the diagram shows the capability check that starts the path. Likewise, the later steps follow the same pattern. Each one is an explicit declaration, a recorded test or a named decision for the second payment provider.
Step one: how do you read the capability card in order?
Open the capability card for the new provider and read it one field at a time. Start with the actions your checkout needs, and mark each one as declared or missing. Then read the history, vault, money movement, dispute and webhook fields. Indeed, they decide what finance and support can do later.
Next, write the result in a short note. The note lists the declared actions, the missing ones and the questions for the provider. The provider capability checklist gives a template for that note. Also, the provider capability registry explains what each field means.
Is a missing action on the card a reason to stop?
No, a missing action is not a reason to stop in every case. Sometimes the second payment provider covers a market or method the first does not. In that case, the gap on the capability card is a limit to write down, not a flaw to hide.
Step two: how do you enter the keys as write-only values?
First, create the sandbox keys at the provider. Then enter them in DaletPay as write-only values. The platform encrypts them before storage and shows only a masked form afterwards. Also, set the environment to sandbox for this connection, and keep the live keys for a later step.
Second, use a named operator for the entry, and record the change in the audit trail. The credential page explains how stored values are protected. It also covers the case where the encryption key is missing outside production.
Step three: how do you run the sandbox test on known cases?
Run the sandbox test as a short script of known cases. Start with a successful authorization and capture. Next, try a declined payment and then a partial refund. After that, check each typed status against the dashboard of the provider.
A status that differs from the provider answer is a mapping issue. That issue must be fixed before the second payment provider goes live.
In addition, the sandbox test should exercise the controls. Next, send one request twice with the same idempotency key. The second reply should point to the first action.
The payment execution controls page lists the cases to cover. Thus, the sandbox test rests on a known list, not on memory.
Step four: who makes the go-live decision, and on what?
Importantly, the go-live decision for a second payment provider belongs to a named person. That person reads the test results, the open questions and the risks, not just the script. A live switch should follow your change process. Notably, it needs a rollback step that the team has rehearsed in sandbox.
Turn on the live connection of the second provider for a small share of traffic first. Then watch the typed statuses, the webhook deliveries and the first reconciliation sweep. Increase the share only when those signals look as expected.
How do you keep checkout the same while you add a provider?
Ideally, checkout should call one interface, and the provider should be selected behind it. In that design, a provider addition changes the registry and the connection settings, not the checkout code. So the customer sees the same flow, and the team changes only the routing choice.
However, some teams want a different checkout for a new method, such as a local wallet or a bank transfer. That change belongs to the product, and it should be designed on its own. Keep it out of the second payment provider work. Otherwise, a problem in one change can hide a problem in the other.
What can still go wrong after the new provider is added?
A second payment provider adds new failure modes. Its timeouts, status names and webhook timing differ from those of the first provider. The platform records what each provider reports. Still, it cannot make two providers behave the same way.
In fact, reconciliation is where gaps surface for a second payment provider. So run a sweep after the first live day and again after the first month. The reconciliation reports page explains how the comparison shows unmatched items for each provider.
Similarly, provider onboarding has limits outside the platform. The approval, the account setup and the support hours belong to the provider. Plan around them, and do not assume a sandbox pass means the live account of another provider is approved.
What does a tested second provider give your payments team?
In short, the benefit depends on the testing. A second payment provider that has not been tested is simply a second risk.
A common case: a local wallet joins a card checkout too.
In one common case, a retailer that accepts cards wants a regional wallet for one country. The steps below match daily practice. It shows the order of steps in order.
First, the team reads the capability card of the wallet provider and finds the capture and refund actions declared. Next, it enters the sandbox keys and runs the sandbox test. One pending status maps to the wrong label, so the mapping is corrected and the test is repeated. Finally, the team makes the go-live decision for one share of traffic and watches the first day.
Overall, the checkout code did not change, and no additional payment provider code was needed. Instead, the routing rule that picks the wallet for that country was the only new choice. That rule was written down with the test record, so the fallback provider choice stays clear.
What should you watch in the first week after go-live?
Watch the first week of the second payment provider closely.
Each day, review the transaction records of the second provider and check the open items. Also, read the webhook deliveries for the new provider. Also, compare the typed statuses with the provider dashboard on a sample of payments. Decide the next traffic share only after the evidence of the week is in.
The transaction inspection page shows the record to check.
How do you plan the traffic share for a new provider?
First, raise the traffic share in clear steps, such as a small share for a day and then a week. Set the exit rule before the first step. For example, a rise in failed or pending statuses above the agreed level sends traffic back to the first provider. Meanwhile, the team looks into the cause.
The payment operations guide places this step in the wider model for a second payment provider.
How do you record each choice you make along the way?
First, write a decision record for the second payment provider before its first live action. Name the new provider and the date. Then list the actions it declares and the actions your checkout needs. Also, note each open question and its owner, so nobody repeats the same talk six months later.
Then keep the record with the capability card. The Primer comparison and the Spreedly comparison show how two products describe the same steps. The payment operations model explains the rules behind the record.
When the capability card changes, add a dated line to the record. The change may affect the traffic plan, the reconciliation routine or the support notes. Hence, a dated line makes that review quick for the second payment provider.
Plan the second provider with the whole rollout in view.
First, choose one candidate, write down its declared actions and book one sandbox test. Then let the go-live decision for a second payment provider rest on what that sandbox test shows. The implementation plan shows how a short test becomes a clear go-live decision for a second payment provider.
Questions and answers on this topic from the product team
Do I have to change my checkout to add a provider?
The goal is that you do not, because checkout calls one interface and the provider is selected behind it. Adding a provider means registering its connection and checking its capabilities. Test the path in a sandbox to see that the selection behaves as you expect.
How long does a provider addition take?
The time depends on the provider's onboarding, which DaletPay does not control. The platform part is usually a short task once credentials are available. Plan for sandbox approval, the credential exchange and the test window, and ask the provider for its timeline in writing.
Which provider should be the second one?
Choose the provider that fills a gap your current provider leaves, such as a method, a market or a fallback. Compare the capability cards of the candidates against the operations your checkout needs. The provider with the clearest declared fit usually makes the simplest second connection.
How do I avoid double charges during the switch?
Keep the idempotency key on every action, and never resend with a new key while the first result is pending. Route a small share of traffic at first, if your checkout allows it. Compare the transaction records with the provider's reports before you increase the share.
What should be tested before the second provider goes live?
Test one successful action, one declined action, one refund, one webhook event and one reconciliation sweep. Check each typed status against the provider's own dashboard, and check that the webhook signature passes. Record the test results, so the go-live decision rests on evidence.
See how DaletPay fits the providers your team uses today
Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.