Payment Object Reference

Overview

A Payment object holds the payment information associated with an Order checked out by a shopper.

Property Value
API Name s_c__Payment__c
Label Payment
Plural Label Payments
Type Custom Object

Fields

Field Label API Name Type Required Description
Amount Tendered s_c__Amount_Tendered__c Currency(10,5) No The amount given by the customer when making this payment (before change is given).
Amount s_c__Amount__c Currency(18,2) No The amount of this Payment including any surcharges
Change Given s_c__Change_Given__c Currency(10,5) No The amount given as change to the customer as part of this payment.
Error Messages s_c__Error_Messages__c LongTextArea(131072) No Any errors that occurred when the system attempted to process this payment.
Invoice Reference s_c__Invoice_Reference__c Text(255) No Optional reference to the invoice for this Payment. Not used by StoreConnect.
Invoice URL s_c__Invoice_Url__c Text(255) No Optional URL of the invoice for this Payment. Not used by StoreConnect.
Last Error At s_c__Last_Error_At__c DateTime No The date/time the last error occurred when the system attempted to process this payment.
Latest Api Response s_c__Latest_Api_Response__c LongTextArea(131072) No [Internal Use] Latest response returned by the Payment_Provider__c.
Method s_c__Method__c Text(255) No The name of the Payment_Provider__c that created this Payment (e.g. "Stripe").
Order s_c__Order_Id__c Lookup (Order) No Reference to the Order for which this Payment was created.
Origin s_c__Origin__c Text(255) No The cause of this Payment's creation.
Paid At s_c__Paid_At__c DateTime No The date and time this Payment was successfully completed.
Payment Provider s_c__Payment_Provider_Id__c Lookup (s_c__Payment_Provider__c) No The Payment_Provider__c used to process this Payment.
Points Amount s_c__Points_Amount__c Number(18,0) No The points amount of this Payment including any surcharges.
Preauthorization Token s_c__Preauthorization_Token__c Text(255) No Preauthorization token used by Payment_Provider__c for capturing payment.
Response s_c__Response__c Text(255) No [Internal Use] Response returned by the Payment_Provider__c.
Status s_c__Status__c Picklist No Status of the payment record.
Surcharge Amount s_c__Surcharge_Amount__c Currency(18,2) No The amount of the surcharge (included within the amount)
Surcharge Product s_c__Surcharge_Product_Id__c Lookup (Product2) No The product used when generating the surcharge on this payment
Transaction Number s_c__Transaction_Number__c Text(255) No Transaction number returned by the Payment_Provider__c.
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Order_Id__c Lookup Order Payments
s_c__Payment_Provider_Id__c Lookup s_c__Payment_Provider__c Payment_Payment_Providers
s_c__Surcharge_Product_Id__c Lookup Product2 Payment_Surcharge_Products