#Having trouble implementing App Upgrade Process

3 messages · Page 1 of 1 (latest)

primal patio
#

The api documentation isn't totally clear on how to do this, but my understanding is that I can generate a new checkout url for my app (using the external pricing page model) and that new checkout should allow the user to make their payment and be directed to the successUrl provided to the api request to generate the checkout.

When I try to go through this process, I get this "There's an error on our end" response, but I'm not sure if the error is truly on the Wix side or if its something about my process (like maybe this isn't the right way to go about upgrading?)

mystic zinc
#

I also had an issue. One thing that can happen is that the URL you forward is too long, which is the case if you use your dashboard window.location.url (which use the iframe url instead of the dashboard URL)

Instead try using a url build manually (SITE_BASE_URL/instanceID/successPage).

Let me know if this works

primal patio
#

ooh thank you, I'll try that and report back