Commit Graph
208 Commits
Author SHA1 Message Date
Oli Juhl 1d2637572b chore: Remove rimraf from prepare (#4741) 2023-08-11 22:55:59 +02:00
Sebabrata Kundu 410ac86ae1 fix: Spelling medusa in desc of package.json of Stripe and PayPal package (#2454)
Fix the incorrect spelling of medusa in package.json file of paypal and stripe packages.

Closes #2453
2023-08-11 08:47:16 +00:00
Adrien de Peretti 58d4c230e2 chore: include rimraf as part of the build for most of the packages (#4615)
* chore: include rimraf as part of the build for most of the packages

* cleanup

* revert medusa interface

* missing script update
2023-07-31 09:23:27 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 04917d0721 chore: Version Packages (#4502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-11 20:38:52 +02:00
Adrien de PerettiandOliver Windall Juhl 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
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 5d7877ded6 chore: Version Packages (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 13:14:20 +02:00
Oliver Windall Juhl 9b42387fd3 chore: Add missing deps (#4317) 2023-06-15 18:27:31 +02:00
Oliver Windall Juhl afd1b67f1c chore: Clean up deps, devDeps, and peerDeps across all packages (#4276)
* chore: Use caret for all Medusa deps

* Create wild-balloons-push.md

* Address PR feedback

* force build order

* add missing dep

* add missing dev deps

* addresses last comments
2023-06-14 15:18:11 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 8f8f6332b7 chore: Version Packages (#4114)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 12:11:45 +02:00
186b7d2773 fix(medusa-payment-stripe): Added withTransaction to capturePaymentIfNecessary (#3930)
* Added withTransaction to capturePaymentIfNecessary

* Removed catch from idempotencyKey.retrieve in completeCartIfNecessary

* Synced with upstream develop branch

---------

Co-authored-by: Didier Guyon <didierguyon@Didiers-MacBook-Pro.local>
Co-authored-by: pepijn-vanvlaanderen <pepijn@webbers.com>
2023-05-18 08:46:09 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 0be70113f9 chore: Version Packages (#4074)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 11:03:47 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> a8f43055db chore: Version Packages (#4020)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-09 15:49:04 +02:00
Adrien de Peretti cff54d7325 fix(medusa-payment-stripe): Catch on idempotency key retrieve if not found (#4025)
**What**
In case the idempotency key is not found, an error will be thrown. We actually want to catch this error and create the key if it does not exists
2023-05-05 14:54:38 +00:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 6b2bcc1a36 chore: Version Packages (#3942)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 10:51:13 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> b41b6303cc chore: Release (#3856)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 19:09:01 +02:00
github-actions[bot]github-actions[bot] <github-actions[bot]@users.noreply.github.com>Oliver Windall Juhl
0f51e3a400 chore: Release (#3818)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-04-14 11:18:39 +02:00
github-actions[bot]github-actions[bot] <github-actions[bot]@users.noreply.github.com>Oliver Windall Juhl
3efe13eefd chore: Release (#3782)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-04-12 11:32:05 +02:00
olivermrbl 66c59d54ff chore(release): v1.8.0 2023-04-04 18:35:27 +02:00
olivermrbl f0d37b4d2d chore(release): v1.8.0-rc.8 2023-04-04 17:37:13 +02:00
olivermrbl 7a3194c313 chore(release): v1.8.0-rc.7 2023-04-04 16:07:48 +02:00
olivermrbl bb9df09e37 chore(release): v1.8.0-rc.6 2023-04-03 18:05:12 +02:00
Shahed Nasser c6bfad14d8 docs: add documentation for v1.8 (#3669) 2023-04-03 13:50:59 +02:00
olivermrbl 6f85a3d366 chore(release): v1.8.0-rc.5 2023-03-31 13:27:14 +02:00
Oliver Windall Juhl 809ab2e0eb chore: Merge master to develop (#3653) 2023-03-31 13:09:57 +02:00
olivermrbl 89d4d84666 chore(release): v1.8.0-rc.4 2023-03-30 17:12:37 +02:00
olivermrbl 15a43c1cc0 chore(release): v1.8.0-rc.3 2023-03-29 13:42:11 +02:00
olivermrbl 8ddb3952c0 chore(release): v1.8.0-rc.2 2023-03-28 21:04:57 +02:00
olivermrbl 990c79d2d5 chore(release): v1.8.0-rc.1 2023-03-28 19:32:36 +02:00
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
olivermrbl b57ea22461 chore: Enter pre-release mode and version packages 2023-03-24 10:16:11 +01:00
Philip Korsholm 5d809a7a39 fix(medusa-payment-stripe): Add typescript to dev deps (#3371)
* add typescript dev devepency

* add changeset

* update yarn.lock
2023-03-04 15:37:32 +01:00
Adrien de Peretti 589d1c09b0 feat(medusa-payment-stripe): Stripe PaymentProcessor implementation (#3257) 2023-02-28 18:44:24 +01:00
olivermrbl 1bfbe27b9b chore(release): Publish 2023-02-14 17:30:40 +01:00
Adrien de Peretti 8c5219a31e chore: Update ignored files for npm (#3217) 2023-02-09 17:25:14 +01:00
olivermrbl 3b474ec35c chore(release): Publish 2023-02-08 19:35:44 +01:00
Oliver Windall Juhl 08324355a4 chore: Patch bump all dependencies + minor bumps winston (#3185) 2023-02-07 19:15:29 +01:00
Adrien de Peretti 82da3605fb feat(medusa-payment-stripe): Avoid unnecessary customer update if the stripe id already exists (#3046) 2023-02-06 14:25:02 +01:00
Oliver Windall Juhl 71fdd28198 fix(medusa-payment-stripe): Prevent Stripe events from retrying (#3160) 2023-02-06 11:23:39 +01:00
Oliver Windall Juhl 0009da0261 fix(medusa-payment-stripe): Resend capture event to ensure auto-capture (#3100) 2023-01-25 10:10:31 +01:00
olivermrbl 6481b0c357 chore(release): Publish 2023-01-18 18:48:57 +01:00
Adrien de Peretti 93d0dc1bdc fix(medusa): test, build and watch scripts (#3025) 2023-01-15 17:10:26 +01:00
olivermrbl 233d6904f8 chore(release): Publish 2022-12-22 15:54:20 +01:00
Adrien de Peretti c8724da503 feat(medusa,medusa-payment-stripe): Move database mutation from plugin to core (#2743)
**what**
The goal of that PR is to first refactor the payment provider and payment plugin to support the new API that removes the data mutation from within the plugin to be done by the core instead. In any case, this pr does not include the steps of the deeper refactoring. The last part will come in later pr.

**How**
- The payment plugin is now capable to handle both the deprecated and new API and the plugin works the same as it use to works.
- The mutation made by the plugin have been moved into the core as well as the subscriber
- The tests have been updated to reflect the changed
- Remove all new methods introduced by the payment collections
  - Mutualise types
  - Update provider and payment collection services
  - cleanup around all those refactoring including cleanup of the payment collection
  - refactor stripe payment plugin

FIXES CORE-887
2022-12-19 14:37:35 +00:00
Patrick 0a9c891853 chore: explicitly add devDependencies for monorepo peerDependencies (#2808) 2022-12-15 08:46:52 +01:00
olivermrbl 29135c0519 chore(release): Publish 2022-12-13 10:34:07 +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
Adrien de Peretti 63d2a0eb1b fix(strip): Hooks import was wrong (#2666)
* fix(strip): Hooks import was wrong

* Create nervous-insects-switch.md
2022-11-24 16:16:35 +01:00
olivermrbl 105c689298 chore(release): Publish 2022-11-24 11:42:04 +01:00
Adrien de Peretti e09f6e8a1e fix(medusa-payment-stripe): handle webhook sirialization failure (#2607) 2022-11-20 20:47:15 +01:00
Adrien de Peretti 9e91a50df1 fix(medusa-payment-stripe): Missing transactions in Stripe provider (#2603) 2022-11-14 20:03:06 +01:00