Import Order Payments to Shopify
This task will import payment information against your orders in your Shopify store using data in an XML file.
Settings
Connection
Required
The Shopify connection to use. See Shopify Connection if you require more information on how to create/manage connections.
Fail File
Required
The XML file to output any failed uploads to.
Input File
Required
The XML file containing the records. See Shopify Price XML for more details.
Success File
Required
The XML file to output successful uploads to.
Prevent Reprocessing
Required
Optionally prevent reprocessing the same records by providing an <external_id> in the XML you provide.
Timeout
Optional
The length of time to wait (in seconds) for Shopify to respond to each API request. If left blank, or set to 0 or less, a default value of 100 seconds will be applied.
Zynk Settings
See Common Task Settings.
Permissions
This task requires the following permissions in your Shopify app:
- read_orders
- write_orders
Examples
A sample input file is shown below. See Shopify Price XML for more details.
<?xml version="1.0" encoding="utf-8"?>
<transactions>
<transaction>
<external_id>#1930</external_id>
<amount>100.00</amount>
<authorization>120381223124141</authorization>
<authorization-expires-at>2023-01-01T00:00:00-04:00</authorization-expires-at>
<extended-authorization-attributes>
<standard-authorization-expires-at>2023-01-01T00:00:00-04:00</standard-authorization-expires-at>
<extended-authorization-expires-at>2023-01-30T00:00:00-04:00</extended-authorization-expires-at>
</extended-authorization-attributes>
<gateway>shopify_payments</gateway>
<order-id>2031856</order-id>
<order-name>#1930</order-name>
<kind>capture</kind>
<parent-id>584698724408</parent-id>
<processed-at>2023-01-01T00:00:00-04:00</processed-at>
<status>success</status>
<test>false</test>
<user-id>193415153856</user-id>
</transaction>
</transactions>