Changelog / Further improvements to the PayPal error UI in the checkout

Further improvements to the PayPal error UI in the checkout

Continuing our work from the last deployment, we’ve further improved some of the error UI shown in the checkout for PayPal, especially when the checkout is loaded from the SDK.

General PayPal error UI

Freemius checkout error UI with general PayPal issue

For every other PayPal-related error, we are now including a “retry link” in the message, so that the user can quickly retry without manually refreshing the page.

When the initial payment fails

Freemius Checkout - PayPal initial payment issue

This can happen for a PayPal account with insufficient balance or credit source. Apart from the inline link in the error UI, the primary button will also reload the checkout so the user can retry with a different PayPal account or a card.

When the billing agreement was already created

Freemius Checkout - PayPal billing agreement issue

In some rare edge cases, it can happen that the billing agreement was already created in PayPal, yet it failed to process the payment. Since we know retrying with the same PayPal billing agreement would not work, we now show a clear message, and the buttons would reload the checkout so that the user can try again with a different payment method.

Please note that these improvements were rolled out to the beta or the phase2 version of the checkout. The behavior of the current checkout has not changed from the last deployment, apart from the improved error messages.