Skip to content

Commit

Permalink
Pull documentation from docs.mollie.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pimm committed Sep 17, 2023
1 parent 0883fbe commit dbe814f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/data/orders/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ export interface OrderData extends Model<'order'> {
*/
redirectUrl: Nullable<string>;
/**
* The optional redirect URL you provided during payment creation. Consumer that explicitly cancel the order will be redirected to this URL if provided, or otherwise to the `redirectUrl` instead — see above.
* The optional redirect URL you provided during payment creation. Consumer that explicitly cancel the order will be redirected to this URL if provided, or otherwise to the `redirectUrl` instead —
* see above.
*
* Mollie will always give you status updates via webhooks, including for the `canceled` status. This parameter is therefore entirely optional, but can be useful when implementing a dedicated
* consumer-facing flow to handle order cancellations.
*
* The URL will be `null` for recurring orders.
*
Expand Down
6 changes: 5 additions & 1 deletion src/data/payments/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ export interface PaymentData extends Model<'payment'> {
*/
redirectUrl?: string;
/**
* The optional redirect URL you provided during payment creation. Consumer that explicitly cancel the payment will be redirected to this URL if provided, or otherwise to the `redirectUrl` instead — see above.
* The optional redirect URL you provided during payment creation. Consumer that explicitly cancel the payment will be redirected to this URL if provided, or otherwise to the `redirectUrl` instead —
* see above.
*
* Mollie will always give you status updates via webhooks, including for the `canceled` status. This parameter is therefore entirely optional, but can be useful when implementing a dedicated
* consumer-facing flow to handle payment cancellations.
*
* The URL will be `null` for recurring payments.
*
Expand Down

0 comments on commit dbe814f

Please sign in to comment.