Skip to content

Transaction Records

The Transactions section provides a complete view of all payment transactions processed through your store. Every time a customer makes a payment (or a payment fails), it is recorded here.

Viewing Transactions

Go to Admin > Transactions to see a list of all transactions. The listing page includes:

  • Search — Find transactions by transaction ID or order number
  • Status filter — Show only transactions with a specific status (Pending, Success, Failed, Refunded)
  • Gateway filter — Filter by payment gateway (Razorpay, Stripe, PayPal, COD)
  • Pagination — Transactions are displayed 15 per page, sorted by most recent first

Transaction Fields

Each transaction record contains the following information:

FieldDescription
OrderThe order number this transaction belongs to
GatewayThe payment gateway used (Razorpay, Stripe, PayPal, or COD)
Transaction IDThe unique identifier from the payment gateway
AmountThe payment amount
StatusCurrent status of the transaction
DateWhen the transaction was processed

Transaction Status

StatusMeaning
PendingPayment has been initiated but not yet completed
SuccessPayment was received and verified successfully
FailedThe payment attempt failed (card declined, insufficient funds, etc.)
RefundedThe payment has been refunded to the customer

Transaction Detail View

Click on any transaction to see its full details, including:

  • Complete transaction information
  • Associated order number (with link to the order)
  • Customer name and email
  • Payment gateway response data

Creating a Manual Transaction

In some cases, you may need to record a transaction manually (e.g., a payment received outside your payment gateways). To do this:

  1. Go to Admin > Transactions
  2. Click Add Transaction
  3. Fill in the details:
    • Order — Select the associated order
    • Gateway — Enter the payment method used
    • Transaction ID — Enter the reference number
    • Amount — Enter the payment amount
    • Status — Select the transaction status
  4. Click Save

Updating a Transaction

  1. Click on the transaction you want to update
  2. Modify the fields as needed
  3. Click Save

TIP

Transactions are typically created automatically by the payment system when customers check out. You usually do not need to create or edit them manually. This feature is provided for edge cases like recording offline payments.

Understanding Payment Flow

Here is how transactions are created for each payment method:

Online Payments (Razorpay, Stripe, PayPal)

  1. Customer selects a payment method at checkout
  2. A Pending transaction is created
  3. Customer completes payment on the gateway
  4. A webhook from the gateway confirms the payment
  5. The transaction status is updated to Success
  6. The order is confirmed automatically

Cash on Delivery (COD)

  1. Customer selects COD at checkout
  2. A transaction is recorded with the COD gateway
  3. The order is automatically confirmed
  4. Payment is collected when the order is delivered

WARNING

If you see transactions stuck in Pending status for online payments, your payment gateway webhooks may not be configured correctly. See Payment Gateway Settings for webhook setup instructions.

Next Steps

Shop Craft Documentation