Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
b482b57
(SP: 2)[Wallets] add paymentMethod selection with method-aware checko…
liudmylasovetovs Mar 4, 2026
38a317f
(SP: 1)[Wallets] lock Stripe wallets to card rail and add Apple Pay d…
liudmylasovetovs Mar 4, 2026
2df8b3b
(SP: 2)[Wallets] add Monobank wallet payment foundation (adapter + wa…
liudmylasovetovs Mar 4, 2026
8bc3b77
(SP: 2)[Wallets] add Monobank Google Pay config/submit routes with in…
liudmylasovetovs Mar 4, 2026
00a7fc7
(SP: 2)[Wallets] add Monobank Google Pay checkout UI with pending ret…
liudmylasovetovs Mar 4, 2026
2894a33
(SP: 2)[Wallets] propagate Monobank Google Pay wallet attribution and…
liudmylasovetovs Mar 4, 2026
5c56a3a
(SP: 1)[Wallets] add Stripe wallet attribution and harden well-known …
liudmylasovetovs Mar 4, 2026
3981cb9
(SP: 2)[Wallets] remove Stripe webhook fetch and treat Monobank 429 a…
liudmylasovetovs Mar 5, 2026
6693ece
(SP: 2)[Wallets] restore NP warehouses caching + correct CityRef usag…
liudmylasovetovs Mar 6, 2026
7c4c6e0
Merge branch 'develop' of https://github.com/DevLoversTeam/devlovers.…
liudmylasovetovs Mar 6, 2026
f7dc004
(SP: 1)[Wallets] replace settlement_ref FK with city_ref FK in np_war…
liudmylasovetovs Mar 6, 2026
04e7f5f
(SP: 1)[SHOP] fix ESLint issues (imports, types, minor test cleanup)
liudmylasovetovs Mar 6, 2026
472d76f
(SP: 3) [SHOP][Payments] fix review issues, restore checkout compatib…
liudmylasovetovs Mar 6, 2026
0043209
(SP: 3) [SHOP][Wallets][NP] fix review findings for Monobank, Stripe,…
liudmylasovetovs Mar 6, 2026
1b76792
(SP: 1) [SHOP] polish monobank google pay fallback messaging
liudmylasovetovs Mar 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
404 changes: 361 additions & 43 deletions frontend/app/[locale]/shop/cart/CartPageClient.tsx

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions frontend/app/[locale]/shop/cart/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ function resolveMonobankCheckoutEnabled(): boolean {
}
}

function resolveMonobankGooglePayEnabled(): boolean {
const raw = (process.env.SHOP_MONOBANK_GPAY_ENABLED ?? '').trim().toLowerCase();
return raw === 'true' || raw === '1' || raw === 'yes' || raw === 'on';
}

export default function CartPage() {
return (
<CartPageClient
stripeEnabled={resolveStripeCheckoutEnabled()}
monobankEnabled={resolveMonobankCheckoutEnabled()}
monobankGooglePayEnabled={resolveMonobankGooglePayEnabled()}
/>
);
}
Loading