How to test subscription billing?

I am currently developing an app that includes an annual package payment plan, and also set up the bogus payment gateway for testing.

However, when move to the payment page, I am unable to complete the payment process, and no information related to bogus is displayed.

Could anyone guide me on how to solve this issue?

Well this isn’t enough info to go on, but assuming you are using shopify’s billing through their GrqaphQL api, in your appSubscriptionCreate mutation, just add test: true

That should be it. You should find everything you need here: https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/appSubscriptionCreate

I have added test:true. nothing happened

console.log the response, if there is no error, you should get a confirmation url. That URL will take you to the billing page which is where merchants approve payments. Its an added step, but you will have to redirect your user to that URL

yes, I’ve got a confirmation url and jump to shopify. but i couldn’t approve this because it need a credit card

I have checked variables, it do have test:true.

could you please help me?

I already told you everything you need. Click on the confirmation URL and see what happens. You need to redirect your user to this URL.

===SOLVED===
my fault.
if you have a same problem, follow the document and check all params