-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ New pay with payment-method
implementation
#5017
✨ New pay with payment-method
implementation
#5017
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5017 +/- ##
======================================
Coverage 87.2% 87.2%
======================================
Files 1252 1252
Lines 51339 51418 +79
Branches 1107 1107
======================================
+ Hits 44790 44869 +79
Misses 6310 6310
Partials 239 239
Flags with carried forward coverage won't be shown. Click here to find out more.
|
5607864
to
3a5cfbd
Compare
services/web/server/src/simcore_service_webserver/payments/_rpc.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good!
packages/models-library/src/models_library/api_schemas_webserver/wallets.py
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/api/rpc/_payments_methods.py
Outdated
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/models/schemas/acknowledgements.py
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/services/payments.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/payments/_onetime_api.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/payments/_onetime_api.py
Show resolved
Hide resolved
Code Climate has analyzed commit c698c6b and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I will adjust my PR to this one. I have just one question regarding the retry statement.
pay with payment-method
implementation
What do these changes do?
Reimplements "pay with payment-method" since app-motion changed the design from Init-Prompt-Ack worfklow to a direct http request-response. SEE all changes of openapi-specs in https://github.com/ITISFoundation/appmotion-exchange/issues/12
webserver
:POST /wallets/{w_id}/payments-method/{pm_id}:pay
but changes implementationpay_with_payment_method
on rpcpayments
:PaymentMethodGet
model. Needed to remove some info from the front-endpay_with_payment_method
on rpc and gateway interfaces-
AckPayment.provider_payment_id
to keep stripe payment identifier-
AckPaymentWithPaymentMethod.payment_id
Related issue/s
How to test
Driving tests are
and
Dev Checklist
DevOps
None