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
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)