Added event to capture user granting debit permissions. This now triggers subscription and subscription auth creation and delivery of auth url to user.
Modified transaction failure flow to also create sub auth after it creates subscription and send url to user. This used to take a second failed transaction.
Dialog is now only delivered if the subscription has already been created but sub auth has not been created or has not been approved and a transaction is attempted. This was the fastest, simplest way tot improve this flow and I am looking forward to feedback. If I am told that people want the dialog, I'll look to return it. Otherwise, we'll eventually remove it entirely.
Added event to capture user granting debit permissions. This now triggers subscription and subscription auth creation and delivery of auth url to user. Modified transaction failure flow to also create sub auth after it creates subscription and send url to user. This used to take a second failed transaction. Dialog is now only delivered if the subscription has already been created but sub auth has not been created or has not been approved and a transaction is attempted. This was the fastest, simplest way tot improve this flow and I am looking forward to feedback. If I am told that people want the dialog, I'll look to return it. Otherwise, we'll eventually remove it entirely.