Solved

Payment app onboarding (redirect and embedded app UI)

Noghartt
Shopify Partner
7 0 6

I'm integrating a new offsite payment provider to Shopify and I have some little doubts about the onboarding and other stuffs related to my App.

 

  • Do I need to obligatory have an embedded app/App Bridge related UI to my App? Can I have a payment app without it?
  • The redirect that we need to do after merchant finish their onboarding: going to the payment settings to allow them to activate our App, it should be done on the client-side? Right? It implies that would I need to have an embedded app?

 

This is not clear to me, because:

Accepted Solution (1)

gsmaverick
Shopify Partner
21 3 4

This is an accepted solution.

> Do I need to obligatory have an embedded app/App Bridge related UI to my App? Can I have a payment app without it?

Yes, you can have a payment app without an embedded app or App Bridge UI.

 

> The redirect that we need to do after merchant finish their onboarding: going to the payment settings to allow them to activate our App, it should be done on the client-side? Right? It implies that would I need to have an embedded app?

Shopify's documentation is really unclear on this but it's best practice to use server-side redirects over client-side redirects when possible. In your case,  in the OAuth / post-install callback you'll want to do a server-side redirect to the payment settings page described in https://shopify.dev/docs/apps/store/requirements#16-payments-apps (point 9).

 

View solution in original post

Reply 1 (1)

gsmaverick
Shopify Partner
21 3 4

This is an accepted solution.

> Do I need to obligatory have an embedded app/App Bridge related UI to my App? Can I have a payment app without it?

Yes, you can have a payment app without an embedded app or App Bridge UI.

 

> The redirect that we need to do after merchant finish their onboarding: going to the payment settings to allow them to activate our App, it should be done on the client-side? Right? It implies that would I need to have an embedded app?

Shopify's documentation is really unclear on this but it's best practice to use server-side redirects over client-side redirects when possible. In your case,  in the OAuth / post-install callback you'll want to do a server-side redirect to the payment settings page described in https://shopify.dev/docs/apps/store/requirements#16-payments-apps (point 9).