-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(medusa-payment-stripe): Stripe PaymentProcessor implementation (#…
- Loading branch information
Showing
55 changed files
with
2,325 additions
and
1,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"medusa-payment-paypal": minor | ||
"medusa-payment-stripe": minor | ||
"@medusajs/medusa": minor | ||
--- | ||
|
||
feat(medusa-payment-stripe): Implement payment processor API on stripe plugin and fix web hook issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ jest* | |
packages/* | ||
# List of packages to Lint | ||
!packages/medusa | ||
!packages/medusa-payment-stripe | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
/lib | ||
dist | ||
node_modules | ||
.DS_store | ||
.env* | ||
/*.js | ||
!index.js | ||
yarn.lock | ||
|
||
/dist | ||
|
||
/api | ||
/services | ||
/models | ||
/subscribers | ||
/helpers | ||
/__mocks__ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
globals: { | ||
"ts-jest": { | ||
tsconfig: "tsconfig.spec.json", | ||
isolatedModules: false, | ||
}, | ||
}, | ||
transform: { | ||
"^.+\\.[jt]s?$": "ts-jest", | ||
}, | ||
testEnvironment: `node`, | ||
moduleFileExtensions: [`js`, `jsx`, `ts`, `tsx`, `json`], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export const PaymentIntentDataByStatus = { | ||
REQUIRES_PAYMENT_METHOD: { | ||
id: "requires_payment_method", | ||
status: "requires_payment_method", | ||
}, | ||
REQUIRES_CONFIRMATION: { | ||
id: "requires_confirmation", | ||
status: "requires_confirmation", | ||
}, | ||
PROCESSING: { | ||
id: "processing", | ||
status: "processing", | ||
}, | ||
REQUIRES_ACTION: { | ||
id: "requires_action", | ||
status: "requires_action", | ||
}, | ||
CANCELED: { | ||
id: "canceled", | ||
status: "canceled", | ||
}, | ||
REQUIRES_CAPTURE: { | ||
id: "requires_capture", | ||
status: "requires_capture", | ||
}, | ||
SUCCEEDED: { | ||
id: "succeeded", | ||
status: "succeeded", | ||
}, | ||
} |
Oops, something went wrong.