Payments App Shows "Install" Despite Successful paymentsAppConfigure

Hello Shopify Support,

We’re testing our payment app update on our dev store: cardinity-dev.myshopify.com.

The app used to have an iframe embedded settings page on shopify admin where merchants could put the gateway credentials.

We are updating due to the embedding of payment apps in the Shopify admin being removed. Now app is not embedded and the settings page is external.

App/Gateway Info:

  • externalHandle: cardinity-checkout-dev
  • Gateway ID: 95801d93af8a508458e7503761XXXXX

We’ve installed the app via the Partner Dashboard, and after the app is installed merchant is redirected to the setup page (hosted by our app) and called the following mutation after configuration :

mutation PaymentsAppConfigure($externalHandle: String, $ready: Boolean!) {
paymentsAppConfigure(externalHandle: $externalHandle, ready: $ready) {
paymentsAppConfiguration {
externalHandle
ready
}
userErrors {
field
message
}
}
}

I have logged the response of that request and It returned

{
“paymentsAppConfiguration”: {
“externalHandle”: “cardinity-checkout-dev”,
“ready”: true
},
“userErrors”:
}

As according to the shopify docs

Afterwards we redirected the merchant to the URL-
https://cardinity-dev.myshopify.com/services/payments_partners/gateways/95801d93af8a508458e7503761XXXXX/settings
This initial request return 302

but it return 302 with redirecting back to -
https://cardinity-dev.myshopify.com/admin/settings/payments/alternative-providers/6979585 - also 302

then after a few auth redirects finally back to-

https://admin.shopify.com/store/cardinity-dev/settings/payments/alternative-providers/6979585 (200 ok)

This page
image.png

with the “install” button instead of the expected “Activate” screen.

If i click on the install button it restarts the same onboarding loop.

One other thing I noticed is at this stage. (even though it shows the install button here). I can still find the app under Settings > Apps and Sales channels.

My Question is why is the app not available as a payment option on the test store despite the paymentsAppConfigure marked ready?

And Why is the app listed as Installed under Apps section if its not installed properly?

Is there anything changed in the flow of PaymentsAppConfigure or the app Login for an unembedded app? We are still using OAuth from (Shopify/shopify-api-php)

1 Like

Hi @Cardinity

I believe your app is listed under Apps because it is installed, but it’s not available as a payment method because Shopify does not consider it ready for activation.

Double-check the paymentsAppConfigure mutation, ensure you are not using any deprecated embedded app features, and verify the app’s state in the Partner Dashboard.

The merchant must activate the payment provider in the admin after configuration is complete. If you are still stuck in an onboarding loop, check for errors in the mutation response and confirm your app’s state and configuration in Shopify.

Already posted response of the paymentsAppConfiguration. and there are no error and ready is true.

app is draft, and we are testing on dev store

is there any solution for this issue? We are experiencing the same problem.

1 Like

Hello,
In our case it just worked when my co-worker tried from a different pc. and for some reason the problem fixed itself on my pc too afterwards.

Also the issue only happen on the draft app. The published app never had this problem.

I wish I had more information to share because I know how frustrating it was.

1 Like

in my opinion it stared to work because some time has passed between you sending the PaymentsAppConfigure mutation and the systems Shopify had updated all the events during this time

maybe shopify have some delays between PaymentsAppConfigure mutation and showing proper screen on the services/payments_partners/{token}/settings page

but it would be nice if we could get the confirmation that this issue was resolved and no delay will happen anymore