Apple Pay

Salesforce B2C Commerce platform enables merchants to use Apple Pay as the payment method at their storefronts. Order Management supports CyberSource as the supported gateway for the Apple Pay payment method using the card type from the Apple Pay Wallet, such as Visa or MasterCard. See the Apple Pay On the Web topics in the Commerce Cloud Infocenter for integration details.

Orders that are paid with the Apple Pay payment method are imported into Order Management. Payments in the Order XML are standard payments. Transaction IDs are used by Order Management for follow-on transactions such as Capture and Refund with the merchant’s payment gateway.

In the Order XML, the <card type> tag contains the card type that was used from the Apple Pay Wallet during checkout. The order XML is imported into Order Management with the payment tag when the payment is authorized outside of Order Management. For example, when the payment method is Visa, then the <card=type> = VISA and the <transaction-type> = AUTH. Custom attributes can be added to the payment tag in the order XML.

In Order Management, the external payment processor and its supported payment methods are configured in the Provider settings in the Administration module. The payment method must be configured with the payment processor account that is used for authorizing storefront orders paid via Apple Pay. Merchants can configure a different CyberSource account for processing the orders paid by Apple Pay.

Note: If the Multi-Capture option is configured for the CyberSource gateway, the client’s merchant bank and all associated parties must support multi-capture when processing split shipments.

When viewing the payment in the Order Management Administration module, "Via Apple-Pay" is appended to the masked credit card number:

...1234 (Via Apple-Pay)

<payments>
   <payment>
      <dw-apple-pay>
         <card-type>VISA</card-type>
         <card-number>XXXX-XXXX-XXXX-8876</card-number>
      </dw-apple-pay>
      <amount>25.98</amount>
      <processor-id>CYBERSOURCE_CREDIT</processor-id>
      <transaction-id>4624552856666866001515</transaction-id>
      <transaction-type>AUTH</transaction-type>
      <custom-attributes>
         <custom-attribute attribute-id="approvalStatus">100</custom-attribute>
         <custom-attribute attribute-id="authAmount">25.98</custom-attribute>
         <custom-attribute attribute-id="authCode">888888</custom-attribute>
         <custom-attribute attribute-id="requestId">4624552856666876001515</custom-attribute>
         <custom-attribute attribute-id="requestToken">Ahj/7wSR9WUgYmotAkzWIkG7Ro1aMXLOLOcuLMxvaS35EcRvQFLfkRxG90gZRMprzyaSZbpAdyaxBZI+rKQMTUWgSZrAEiua</custom-attribute> 
     </custom-attributes>
   </payment>
</payments>
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.