Skip to main content
SubscriptionFlow Docs
Overview

Payment Gateway Logs, Checkout Attempts and Statement Identifier

Updated

This article covers three tools on the Payment Settings page that help you investigate payments:

  • Logs: every request SubscriptionFlow sent to a gateway and the gateway's answer.
  • Checkout attempts: every hosted checkout, from the start of payment to the records it created.
  • Statement Identifier: the name your customers see on their bank or card statement.

To open them, click the ⚙️ icon at the top right to open Settings, then click Payment Gateways. The buttons are next to + Payment Gateway on the Configured Gateways tab.

Checkout attempts and Logs on Payment Settings

Gateway logs

Logs show the calls made to your payment gateways: charges, refunds, saving payment methods, customer updates, connection tests and webhooks. Use them when a payment fails and the transaction only says "Failed": the log entry shows the gateway's own error code and message.

Logs for all gateways

  1. On Payment Settings, click Logs.
  2. Filter by Gateway, Action, Status and Date, or search the response text with Search.
  3. Each row shows Time, Gateway, Action and Status. Click Detail to see the full payload the gateway returned.

Payment Gateway Logs

The Logs button is shown only to the account's primary administrator. Other users with access to payment settings can see the logs of one gateway at a time, as described below.

Logs for one gateway

  1. On the Configured Gateways tab, open the gateway's Options menu and click View Logs. You can also open the gateway and click the Logs tab.
  2. The list shows Time, Action, Status and Detail for that gateway only.

Checkout attempts

A checkout attempt is created each time a customer starts paying on a hosted checkout page or payment link. It records the amount, the gateway references and what happened next. It closes the gap between "the gateway took the money" and "SubscriptionFlow created the customer, subscription, invoice and transaction", so you can find payments that were taken but not completed.

  1. On Payment Settings, click Checkout attempts.
  2. Filter by Status and Gateway, or search by reference, email or attempt id.
  3. Each row shows Created, Status, Gateway, Reference, Email, Amount, Failure stage, Tries and the linked records (customer, payment method, subscription, invoice and transaction).

Checkout attempts

Statuses

Status Meaning
Created The checkout was opened.
Payment Pending The customer submitted payment and the gateway has not confirmed it yet.
Payment Succeeded The gateway took the payment; SubscriptionFlow has not finished creating the records.
Fulfilling SubscriptionFlow is creating the customer, subscription, invoice and transaction.
Completed Payment taken and all records created.
Payment Failed The gateway declined or the payment could not be taken.
Fulfillment Failed The payment was taken but the records could not be created.
Abandoned The customer left without paying.

View an attempt

Click View to see the attempt's details: amount, gateway, gateway reference and transaction, idempotency key, customer email, timestamps (created, payment succeeded, completed, abandoned), fulfillment source and attempts, and the Failure stage and Failure reason. The Linked records section links to the customer, subscription, invoice and transaction, and Gateway webhook events lists the webhooks the gateway sent for this payment, with any processing error.

Retry fulfillment

When the payment was taken but the records were not created, a Retry fulfillment button appears on the row. It is available for attempts in Payment Succeeded or Fulfillment Failed, and for attempts stuck in Fulfilling for more than 15 minutes.

  1. Click Retry fulfillment.
  2. Confirm. SubscriptionFlow checks the payment with the gateway again before it creates any record, so a retry never charges the customer again.

Statement Identifier

The Statement Identifier is the text your customers see next to the charge on their card or bank statement. Use a name they will recognise, such as your brand name, to avoid "unrecognised charge" disputes.

  1. On Payment Settings, open the gateway and click the Advanced Options tab. This tab unlocks after the gateway's connection has been saved.
  2. Enter the name in Statement Identifier (shown on customer statements).
  3. Click Save.

The field is shown only for gateways that support it, and each gateway applies its own rules:

Gateway How the identifier is used
SubscriptionFlow Payments, Stripe Up to 22 characters, sent on every charge.
Adyen Upper case, spaces replaced with hyphens, up to 22 characters (longer names are cut).
Square Upper case, spaces replaced with hyphens, up to 19 characters. If empty, "SUBSCRIPTIONFLOW" is used.
Finix Up to 20 characters.
NMI Sent as the descriptor on each charge.
WorldPay Sent as the first line of the payment narrative.

The identifier is the same for every charge on that gateway. It can't be set per plan or per transaction. Your gateway or acquiring bank may add a prefix or shorten it further, and some card networks restrict which characters can be used: check your gateway's rules.

Related articles

  • How to connect with a payment gateway
  • Stripe
  • Automate Payment Retries & Dunning (Recovery performance and decline analytics)
Was this article helpful?0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.