@tagadapay/plugin-sdk 2.4.7 → 2.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,6 @@ export function usePostPurchases(options) {
|
|
|
18
18
|
try {
|
|
19
19
|
const response = await apiService.fetch(`/api/v1/post-purchase/${orderId}/offers`, {
|
|
20
20
|
method: 'GET',
|
|
21
|
-
skipAuth: true,
|
|
22
21
|
});
|
|
23
22
|
const fetchedOffers = response || [];
|
|
24
23
|
setOffers(fetchedOffers);
|
|
@@ -70,7 +69,6 @@ export function usePostPurchases(options) {
|
|
|
70
69
|
method: 'POST',
|
|
71
70
|
body: JSON.stringify({
|
|
72
71
|
checkoutSessionId,
|
|
73
|
-
skipAuth: true,
|
|
74
72
|
metadata: {
|
|
75
73
|
comingFromPostPurchase: true,
|
|
76
74
|
postOrder: orderId,
|
|
@@ -239,7 +237,6 @@ export function usePostPurchases(options) {
|
|
|
239
237
|
}
|
|
240
238
|
const response = await apiService.fetch(`/api/v1/checkout-sessions/${sessionState.checkoutSessionId}/pay`, {
|
|
241
239
|
method: 'POST',
|
|
242
|
-
skipAuth: true,
|
|
243
240
|
body: JSON.stringify({
|
|
244
241
|
checkoutSessionId: sessionState.checkoutSessionId,
|
|
245
242
|
draft: options?.draft || false,
|