[Urgent Action Required] allow for multiple authorization transactions - Sale transactions

BogdanM
Shopify Partner
123 3 26

Hi there,

 

I've received an urgent change notification saying that our "apps are omitting the 'authorization' or 'parent_id' parameters when capturing transactions".

 

Our app needs to mark order as Paid and does this by creating a "capture" transaction.
The documentation is clear for capturing orders with authorization.

However, it is not clear how should we process when the order does not have a transaction with "authorization".
What should we do with orders with a "Sale" transaction?

 

The docs say that "For capture transactions, the parent needs to be an authorization transaction".
If we use the parent_id for a Sale transaction the transaction save fails.

For orders with Sale transaction we can create a "capture" transaction only if the parent_id is omitted, therefore we cannot implement the required change for all orders.

 

Can anyone clarify id this "urgent action" applies to orders with Sale transaction too?

Bogdan | WebShopAssist
User friendly apps with top-rated support
- SKUGen the SKU generator
- DPD Integration
Replies 2 (2)

csam
Shopify Staff (Retired)
267 40 51

Hi @BogdanM 

 

The Sale indicator is meant to be used on a transaction in with the authorization and capture are made in the same step. You should not have to capture an order if the transaction is marked as Sale.

 

 

Regards,

To learn more visit the Shopify Help Center or the Community Blog.

BogdanM
Shopify Partner
123 3 26

Hi @csam 

 

Then how do I mark as paid an order with a Sale transaction?

I've seen this kind or orders when a manual payment method is used.

 

Regards

Bogdan | WebShopAssist
User friendly apps with top-rated support
- SKUGen the SKU generator
- DPD Integration