docs: added dividers + see also section (#2899)
This commit is contained in:
@@ -42,6 +42,8 @@ These methods are used at different points in the Checkout flow as well as when
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Create a Payment Provider
|
||||
|
||||
The first step to create a payment provider is to create a JavaScript or TypeScript file in `src/services`. The file's name should be the name of the payment provider.
|
||||
@@ -414,6 +416,8 @@ async cancelPayment(payment: Payment): Promise<Data> {
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Optional Methods
|
||||
|
||||
### retrieveSavedMethods
|
||||
@@ -457,7 +461,9 @@ async retrieveSavedMethods(customer: Customer): Promise<Data[]> {
|
||||
}
|
||||
```
|
||||
|
||||
## What’s Next
|
||||
---
|
||||
|
||||
- Check out the Payment Providers for [Stripe](https://github.com/medusajs/medusa/tree/2e6622ec5d0ae19d1782e583e099000f0a93b051/packages/medusa-payment-stripe) and [PayPal](https://github.com/medusajs/medusa/tree/2e6622ec5d0ae19d1782e583e099000f0a93b051/packages/medusa-payment-paypal) for implementation examples.
|
||||
- Learn more about the [frontend checkout flow](./../../storefront/how-to-implement-checkout-flow.mdx).
|
||||
## See Also
|
||||
|
||||
- Implementation Examples: [Stripe](https://github.com/medusajs/medusa/tree/2e6622ec5d0ae19d1782e583e099000f0a93b051/packages/medusa-payment-stripe) and [PayPal](https://github.com/medusajs/medusa/tree/2e6622ec5d0ae19d1782e583e099000f0a93b051/packages/medusa-payment-paypal) payment providers.
|
||||
- [Implement checkout flow on the storefront](./../../storefront/how-to-implement-checkout-flow.mdx).
|
||||
|
||||
Reference in New Issue
Block a user