"Approve charges" screen shows every time I login to test store

Highlighted
Shopify Partner
15 0 1

We are building an app (Node.JS + React) the uses the "appRecurringPricingDetails" resource to charge customers every 30 days. For some strange reason, the "approve charges" screen shows each time I logout / login to the store and go back to the app. Any ideas why?

 

This is the mutation we are using after the "afterAuth" event:

 

 

mutation {
appSubscriptionCreate(
name: "App name"
trialDays: 7,
returnUrl: "${process.env.HOST}"
test: false
lineItems: [
{
plan: {
appRecurringPricingDetails: {
price: { amount: ${amount}, currencyCode: USD }
}
}
}
]
) {
userErrors {
field
message
}
confirmationUrl
appSubscription {
id
}
}
}`

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Hey @Wil,

 

Do you have a demo store / app name handy?

0 Likes
Highlighted
Shopify Partner
15 0 1

Scott, not sure I understood your comment. Can you please clarify :) ?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Can you please provide a link to the app or store exhibiting the behaviour?

0 Likes