Skip to content

Commit

Permalink
Merge branch 'develop' into chore/clear-workflow-execution
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-r-l-rodrigues authored Jan 31, 2025
2 parents e34355d + 18f7b71 commit 02b01a5
Show file tree
Hide file tree
Showing 41 changed files with 78,567 additions and 63,240 deletions.
1 change: 1 addition & 0 deletions packages/core/core-flows/src/cart/utils/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const cartFieldsForRefreshSteps = [
]

export const completeCartFields = [
"metadata",
"id",
"currency_code",
"email",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ import { StepResponse, createStep } from "@medusajs/framework/workflows-sdk"
export const createPaymentAccountHolderStepId = "create-payment-account-holder"
/**
* This step creates the account holder in the payment provider.
*
* @example
* const accountHolder = createPaymentAccountHolderStep({
* provider_id: "pp_stripe_stripe",
* context: {
* customer: {
* id: "cus_123",
* email: "example@gmail.com"
* }
* }
* })
*/
export const createPaymentAccountHolderStep = createStep(
createPaymentAccountHolderStepId,
Expand Down
Loading

0 comments on commit 02b01a5

Please sign in to comment.