Customising Order Status Page Problem: Showing different textbox when using different payment method

I would like to know how we can show a different custom textbox (showing the QR code/Payment Code for manual payment method) depending on the Payment Method chosen by the customer in the Order Status Page?

The concept on my mind is using a IF rule to show the correct box based on the transaction gateway used.

{% if transaction.gateway is ABC %}
Please pay the order via ABC method with the following QR code:

However, I have tried to include the below **transaction.gateway** snippet to the Additional scripts box but no text is shown in the test order.

```css
{{transaction.gateway}}

Source: https://shopify.dev/api/liquid/objects/transaction

Order Status Page Example from another shop:
1. Payment Gateway Chosen: Octopus → Show a payment QR code for Octopus

2. Payment Gateway Chosen: Faster FPS → FPS ID for payment is shown instead of Octopus QR code

Thanks a lot for your help!!!

Hi @curahealth ,

Did you find the solution?

I have the same case, please tell me how you did to insert the QR code.

Thanks in advance

Greetings,