chore(medusa,core-flows): cart payment collection link (#8457)
This commit is contained in:
1 parent
decd830474
commit
5125d1328d
16 files changed
+249
-211
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import {
|
||||
DeleteResponse,
|
||||
FindParams,
|
||||
HttpTypes,
|
||||
PaginatedResponse,
|
||||
SelectParams,
|
||||
DeleteResponse,
|
||||
} from "@medusajs/types"
|
||||
import { Client } from "../client"
|
||||
import { ClientHeaders } from "../types"
|
||||
@@ -289,9 +289,6 @@ export class Store {
|
||||
if (!paymentCollectionId) {
|
||||
const collectionBody = {
|
||||
cart_id: cart.id,
|
||||
region_id: cart.region_id,
|
||||
currency_code: cart.currency_code,
|
||||
amount: cart.total,
|
||||
}
|
||||
paymentCollectionId = (
|
||||
await this.client.fetch<{
|
||||
|
||||
Reference in new issue
Block a user