Billing API redirect after cancellation

New Member
1 0 2


I'm trying to appropriately redirect once the createBillingSubscriptionMutation is executed. Everything seems to work fine in the normal workflow, however, if the user declines the billing charge and is then redirected back to the application, I can no longer redirect them back to the billing page after firing another createBillingSubscriptionMutation. I get the error:

Refused to display '' in a frame because it set 'X-Frame-Options' to 'deny'.

Previously it would redirect to the url with no problems but now it is trying to load it into the iFrame. Does anyone know why this is happening or how to solve it?