Error throw when deploying new version - "Following payment methods not permitted:"

Hi Shopify team,

I’m trying to deploy a new version of a published app that has offsite payment extension.
When I run shopify app deploy, I get the following error:

Version couldn't be created.

Validation errors
supported_payment_methods: Following payment methods not permitted: ["alipay", "alipay_hk"]

This payment method ("alipay",“alipay_hk”) was already present in the supported_payment_methods of the current published version, and it was accepted previously.

We only update api_version in shopify.extensiom.toml but now the deployments failed due to “payment methods not permitted” error.

Could you please confirm:

  1. how we should proceed to keep “alipay”,”alipay_hk” in our payment methods for the extension?

Thank you in advance for your assistance.

Hey @HKIT_QFPay :waving_hand: - I believe we’ve seen a similar issue in the past which was resolved:

I’m just sharing this here in case it’s related. If you’re still seeing the issue, could you run shopify app deploy --verboseand share the full output if possible (if need be, I’m happy to send you a DM so that we can share that this way.)? I can use those logs to investigate this more deeply so that we can see what may be causing this.

Hope to hear from you soon - let me know if I can clarify anything :slight_smile:

Hey @HKIT_QFPay, I wanted to follow up here to see if we can still assist with the error you’re seeing, please let me know!