Commit Graph

18 Commits

Author SHA1 Message Date
Adrien de Peretti 4264302f21 feat(medusa, stripe, paypal): Add update payment session support to the abstract payment processor API (#4442)
* feat(medusa, stripe, paypal): Add update payment session support to the abstract payment processor API

* continue to add updatePaymentData

* feat: Add update payment data to paypal as well and add stripe tests

* fix stripe updatePaymentData returned object type

* fix tests

* Create three-ravens-raise.md

* fix paypal updatePayment data impl

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-07-10 15:59:19 +02:00
Adrien de Peretti b9c6c3d059 fix(medusa-payment-paypal): Missing typescript dev dependency (#3609) 2023-03-28 19:20:39 +02:00
Adrien de Peretti 5307408894 feat(medusa-payment-paypal): Migrate to the new payment processor API (#3414)
* feat(medusa-payment-paypal): Migrate to the new payment processor API

* WIP

* WIP

* WIP unit tests

* WIP

* unit tests

* fix package.json

* yarn

* cleanup

* address feedback 1/2

* Start to implement a new Paypal SDK

* cleanup

* finalise sdk

* cleanup

* fix push missing file

* rename sdk methods

* unit test the http client

* WIP

* fix http client

* Create .changeset/empty-melons-eat.md

* refactor tests

* fix quote

* fix options

* cleanup

* do not retry auth

* WIP

* retry mechanism max attempts

* use both old and new options

* fix capture

* remove totals fields

* add missing method

* cleanup

* fix current tests

* authorize should update the data with the fresh order

* remove comments

* fix tests

* Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>

* fix unit tests

* update changeset

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2023-03-28 13:49:09 +02:00
Adrien de Peretti ce866475b4 chore(*-payment-*): Cleanup PaymentProvider plugins (#3011) 2023-02-07 12:43:24 +01:00
Adrien de Peretti 142c8aa70f fix(medusa, medusa-payment-paypal): Add missing data in Payment Collection input (#3010) 2023-01-13 16:26:39 +01:00
Carlos R. L. Rodrigues 15c667fbd3 feat(medusa,medusa-react): PaymentCollection support (#2659)
* chore: medusa react, order edit complete fix and single payment session
2022-12-07 12:39:35 -03:00
Carlos R. L. Rodrigues 755ba90c05 feat(medusa): Payment Collection endpoints (#2525) 2022-11-11 18:28:45 +01:00
Carlos R. L. Rodrigues c3f8297599 feat(medusa): manage payment sessions from payment collection (#2402)
* feat: manage payment sessions from payment collection
2022-11-02 13:34:29 -03:00
Sebastian Rindom a908a7716c fix(medusa-payment-klarna, medusa-payment-stripe, medusa-payment-paypal): Totals calculation (#2381) 2022-10-08 10:53:19 +02:00
Adrien de Peretti 58387936c9 fix(medusa-payment-paypal): Should not throw when canceling already canceled payment (#1470) 2022-05-19 18:28:51 +02:00
Sebastian Rindom b30a2af94d fix: account for lowest currency unit in paypal (#761)
* fix: account for lowest currency unit in paypal

* fix: currency rounding
2021-11-10 17:19:35 +01:00
Sebastian Rindom fca29cc5cc fix: support for hook completion of swap carts 2021-07-09 10:46:34 +02:00
Sebastian Rindom 1f6ee0fc00 fix: paypal order 2021-07-09 10:46:34 +02:00
Sebastian Rindom cf34f8e404 hotfix(paypal): correct payment retrieval on refunds 2021-04-29 15:37:27 +02:00
Sebastian Rindom 1b7fa59bf7 hotfix(paypal): create new payment session if update fails (#186) 2021-02-26 13:13:28 +01:00
Sebastian Rindom 00c130e40e docs: correct return type 2021-02-09 11:31:57 +01:00
Sebastian Rindom cb788ce2f6 hotfix: typo 2021-02-09 10:23:16 +01:00
Sebastian Rindom 427ae25016 feat: adds paypal (#168) (#169) 2021-02-08 21:40:59 +01:00