Is it possible to add dynamic text to the Thank-You page?

I would like to add a payment link for a specific payment option, and I need this link to appear in the section where I currently placed the message “here”. Ideally, I want to insert either a clickable link or a QR code.

Is there a way to achieve this on the Thank-You page after the customer completes the purchase?

Hi @Andrei_Rodrigues1

Can you describe this a bit more:

I would like to add a payment link for a specific payment option, and I need this link to appear in the section where I currently placed the message “here” . Ideally, I want to insert either a clickable link or a QR code.

Where exactly would this link be directing customers to?

Sure, @Liam-Shopify.

I would like to implement this approach because I need to split payments between different receivers. For example, the amount paid for product X needs to go to one receiver, while the amount for product Y needs to go to a different receiver.

Since Shopify does not natively support this type of payment split per product, my idea is to use a manual payment method and then display a payment link (or QR code) on the post-purchase (thank you) page.

This payment link would redirect the customer to an external payment provider’s page, where the payment is actually completed and properly split between receivers.

If there is any alternative or recommended approach to handle this scenario within Shopify, it would be extremely helpful. Otherwise, I plan to proceed with this solution and would like to understand whether it is possible to implement it on the thank you page after the order is placed.

This sounds like it would go against Shopify’s Terms of Service so you wouldn’t be allowed to do it.

That is strange. I spoke with Shopify support before coming up with this approach specifically to confirm whether I could proceed this way, and they confirmed that it is possible.

Shopify itself provides this option, as it allows you to create a manual payment method under Payments.

In any case, if this approach is truly not feasible, what alternatives do you see for my scenario? How would you recommend solving this?

If you plan to display a payment link to link the user off-site to complete the payment, this is not allowed.

Actually, the payment would be made on my own Shopify site. From there, I would display a QR code so the customer could complete the payment. Would this also not be allowed?

If not, how could this problem be resolved in this scenario?

Hi again @Andrei_Rodrigues1

Bypassing the native Shopify checkout would be against the terms of service described here:

You agree not to work around, bypass, or circumvent any of the technical limitations of the Services, including to process orders outside Shopify’s Checkout, use any tool to enable features or functionalities that are otherwise disabled in the Services, or decompile, disassemble or otherwise reverse engineer the Services.

The flow I’d recommend is :

  • Customer places order in storefront
  • Checkout for that store processes the order
  • On your side the order is analysed to see which products are associated with specific receivers
  • You organise payments to be sent to the individual receivers outside of Shopify

This also feels like it would be a better customer experience, as they would check out using a familiar checkout UI, and wouldn’t need to complete one checkout and then use a QR code or link to navigate to another surface to complete a different checkout process.

Ok, Liam. Thank you!
Just to clarify one more question: do you know if it is possible to display a specific payment method to the customer depending on the product they choose to proceed to checkout with? I believe this could also be an alternative for my use case.

This should be possible using a payment customization function (currently only available to Plus stores).

The CartPaymentMethodsTransformRunResult object has a paymentMethodHide field:

When your Function returns this operation, it removes the specified payment method from the available options shown to customers during checkout. Use this operation when you want to conditionally hide payment methods based on checkout attributes, customer data, or other business logic implemented in your Function.

See more here: Payment Customization Function API

But can I only do this by using the Shopify Plus plan? What alternatives are available for merchants on the Basic plan? What would you recommend?

Correct - it’s only possible to add new functionality to checkout if you’re on a plus plan. The other alternative would be the flow I recommended here, where you reconcile payments to receivers independently following the completed order: Is it possible to add dynamic text to the Thank-You page? - #8 by Liam-Shopify

I have a quick question. In the documentation you shared, there is no mention that paymentMethodHide is restricted to Plus plan stores. Additionally, I was able to install some apps that successfully hide specific payment methods based on the selected product. Does that not indicate that this could also be achieved through custom development?

Good callout - the rules around Shopify Functions (which paymentMethodHide is a part of), are that:

  • all stores can use public (app store) apps that leverage Functions
  • only Plus stores can use custom apps that leverage Functions

So if you have found a public app that can achieve the effect you’re looking for, that may be the best solution. HidePay could be a good option for example.