Skip to main content

Powr subscription purchased within WIX issue

  • Issue: Wobbly has purchased Subscription within Wix, but it is not applying on his apps.

Steps made to resolve issue

1) Wix sends a webhook to us to a Api::Wix::V2::WebhooksController, or to pi::Wix::WebhooksController 2) That controller receives data and sends it to the task (Wix::V2::WebhookWorker or Wix::WebhookWorker) whose job is to save the data that came from Wix. 3) The upgrading process happens in AppsController#handle_wix_upgrades, which checks for vendor_product_id that came from Wix webhook and checking for backend app, if conditions resolve to true then it just updates backend apps's premium status. 4) The issue is probably on Wix side, as the upgrade logic checks for backend app AND vendor_product_id, that vendor_product_id might be incorrect or something at the time we receive the data from webhook, I've created a ticket to wix dev support explaining this and asking to help. Will write more additional information as I get the answer from them.

The thread is here: https://powrteam.slack.com/archives/C0ANLSP0F/p1647545754186699

search tags

  • wix subscription, wix powr subscription, wix apps upgrade issue