I need to check which payment method is being used at checkout using flow. At the moment i am just trying to tag orders that use Apple Pay, Google Pay or another “digital wallet”.
The flow is not working having tried the 2 options below. The wallet is always “empty” =, but in the transaction the wallet shows as apple pay. Is there another variable i should be using for this?
I don’t think you want parentTransaction. Card Payment Details is obviously details related to the card, which isn’t something like “Apple”. If you can’t tell what value a field has, you use Log output action to print it out on the workflow run page.
Most likely you want transaction / formattedGateway, transaction / gateway, or just order/paymentGatewayNames . If you print out that value using Log Output, you’ll see what value to use to match Apple Pay.
Thank you Paul, i have tried logging the output as i didnt know about this feature. I have tried the ones you suggested above, however even when the user pays using Apple Pay, it shows as Shopify Payments. In the transaction details, the only place “Apple” appears is under wallet, but in Flow the wallet details are always returned empty. Im not sure if this is an issue or the parameter is just not available in flow at this point.