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(incoming-payment): make it actionable #2827

Merged
merged 20 commits into from
Aug 21, 2024

Commits on Jul 30, 2024

  1. feat(backend): incoming paymentm igrations approved or canceled fields

    This change will add two new table columns in the incomingPayments table on the backend service. ASE
    will be able to call cancel or approve incoming payment GraphQL API, and the timestamp of the call
    will be save in the database under these two fields. Normally, both of these two fields are
    optional.
    golobitch committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    fa9cc27 View commit details
    Browse the repository at this point in the history
  2. feat(incoming-payment): option to approve incoming payment

    This commit introduces possibility, to approve incoming payment through Admin API. API can be called
    with existing incoming payment as ID. Rafiki will fetch the incoming payment and update it's
    approvedAt field in the database. In case that payment does not exists or that it is not in the
    PENDING state, appropriate error is returned.
    
    #2811
    golobitch committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    d9ec7e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6767fbf View commit details
    Browse the repository at this point in the history
  4. feat(incoming-payment): possibility to cancel incoming payment

    It will be possible to cancel incoming payment due to some requirements. Rafiki just need to get a
    call to cancel incoming payment, with the payment ID. If transaction is in PENDING state and it is
    in the database, then it will get updated. It's cancelledAt field will be set  to current time.
    
    #2811
    golobitch committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    e4fbc3c View commit details
    Browse the repository at this point in the history
  5. chore(graphql): generate new graphql fiels for dependencies due to ca…

    …ncel incoming payment API
    
    #2811
    golobitch committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    c28d430 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. feat(config): backend to introduce env variables for actionable incom…

    …ing payments
    
    Introduced three new env variables that will set the behaviour of actionable incoming payments. One
    env variable will define if polling will be done, meaning that it will wait for the incoming payment
    to be accepted or rejected, and other two env variables defines timeout for polling and polling
    frequency
    golobitch committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    076af94 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    57b2526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2ab248 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    dcb31a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e434637 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    9dd6606 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Update packages/backend/src/open_payments/payment/incoming/service.te…

    …st.ts
    
    Co-authored-by: Max Kurapov <max@interledger.org>
    golobitch and mkurapov authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    ea46b1e View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    7ff5178 View commit details
    Browse the repository at this point in the history
  2. refactor(dependencies): axios to 1.7.4

    Our builds are failing due to Trivy scanner. Trivy scanner actually found that our Axios version
    v1.6.8 has a vulnerability - CVE-2024-39338. This was fixed in version 1.7.4, hence, the upgrade.
    
    fix #2860
    golobitch committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    5259f5c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    5ef9991 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    26d8178 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aad8fa5 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    629b7b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e13eccf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a4838b View commit details
    Browse the repository at this point in the history