Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: THES-105: Payment State Polling #771

Merged
merged 4 commits into from
Jul 3, 2023
Merged

Conversation

grmartin
Copy link
Contributor

@grmartin grmartin commented Jun 28, 2023

  • feat: THES-105: Payment State Polling
    Payment State polling on Submit Payment and Get Active Order, with a normally non-closeable Dialog.
  • fix: Advisories permitted for the moment
    This spawned REV-3598.
  • fix: Removal of PAYMENT_STATE.PROCESSING, this state is internal to the Titan backend.

Payment State polling on Submit Payment and Get Active Order, with a normally non-closeable Dialog.
@grmartin grmartin changed the title [WIP] THES-105. feat: THES-105: Payment State Polling Jun 29, 2023
@grmartin grmartin marked this pull request as ready for review June 29, 2023 13:13
@grmartin grmartin requested a review from a team as a code owner June 29, 2023 13:13
} catch (error) {
// We dont quit on error.
// yield call(handleErrors, error, true);
yield put(paymentStateDataReceived({ state: PAYMENT_STATE.HTTP_ERROR }));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add common logging for errors from New Relic.

Copy link
Contributor Author

@grmartin grmartin Jun 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potentially HTTP errors should fall through, but nothing else.

src/payment/data/actions.js Outdated Show resolved Hide resolved
// This shouldn't happen.
// I don't think we need to banner... shouldn't our parent calls recover? (They invoke this)
keepPolling = false;
yield put(updatePaymentState.fulfill());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw exception?

src/payment/data/utils.js Outdated Show resolved Hide resolved
@grmartin
Copy link
Contributor Author

grmartin commented Jul 3, 2023

Splitting exception handling in to another ticket.

@grmartin grmartin merged commit b655061 into 2u/project-theseus Jul 3, 2023
3 checks passed
@grmartin grmartin deleted the gmartin/THES-105 branch July 3, 2023 14:08
grmartin added a commit that referenced this pull request May 15, 2024
* feat: THES-105: Payment State Polling

Payment State polling on Submit Payment and Get Active Order, with a normally non-closeable Dialog.

* fix: Advisories permitted for the moment

This spawned REV-3598.

* fix: Removal of  `PAYMENT_STATE.PROCESSING`, this state is internal to the Titan backend.

* fix: Changes from PR Review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants