StoreConnect sets an Origin field (s_c__origin__c) on every Payment record in Salesforce. This field contains a short code that identifies how and where the payment was created — for example, whether it was taken automatically by a subscription renewal job, during web checkout, or via Salesforce Payments.
This field is particularly useful for building Salesforce Flows and automations that need to behave differently depending on the source of a payment. For instance, you can use it to detect whether a payment was created by StoreConnect's subscription processing job, and trigger downstream logic only when appropriate.
AD01 — additional payment
Set when an additional payment is made against an existing order. This allows supplementary charges to be recorded after the initial transaction has been processed — for example, when a store administrator applies a top-up charge or covers a shortfall on an order.
AP01 — API call
Set when a payment is created through StoreConnect's API. This covers programmatic payment creation by external systems or integrations connecting directly to the StoreConnect API.
MS01 — manual subscription payment
Set when a manual payment is made directly against a subscription — for example, when a store administrator processes an early or out-of-cycle payment on behalf of a customer.
PO01 — POS payment
Set when a payment is taken through StoreConnect's Point of Sale (POS) system. This applies to in-person transactions processed via the POS interface.
SF01 — Salesforce payment
Set when a payment is taken using the Salesforce Payments feature — typically via the payment iframe that opens on an Order record inside Salesforce.
SU01 — automatic evergreen subscription payment
This code is set when StoreConnect's subscription job automatically processes a renewal charge for an evergreen subscription. It is the primary code to look for in Flows that should only fire when StoreConnect has initiated the payment — not when a customer or admin has manually done so.
SU02 — automatic fixed-term subscription payment
Set when StoreConnect's subscription job automatically processes a renewal charge for a fixed-term subscription. Used in place of SU01 to distinguish fixed-term subscription renewals from evergreen ones when building Flows and automations.
WC01 — website one-off payment
Applied when a customer completes a website checkout for a one-time purchase. This covers standard storefront transactions where the customer's payment details are not saved for future use.
WS01 — website subscription purchase
Applied when a customer completes a checkout on the website and a subscription product is part of their cart. This covers the initial subscription purchase through the storefront, where the customer's payment details are saved for future automated billing.