Latwy zwrot - bez pytan
Zainstaluj, skonfiguruj i zarabiaj
Priorytet pomocy i satysfakcji
MPR Zamówienie Revolution
Usprawnij zamowienia dzieki ekspresowej platnodci na jednej stronie
MPR Checkout Revolution umożliwia ekspresowy checkout z dowolnej strony Twojego sklepu — strony produktów, koszyk, mini-koszyk — za pomocą Apple Pay, Google Pay, PayPal, Link by Stripe i kart. Klienci pomijają tradycyjny proces checkout i kupują w sekundach.
- Ekspresowy checkout wszędzie: Przyciski płatności na stronach produktów, w koszyku i mini-koszyku — nie tylko na stronie checkout
- Apple Pay i Google Pay: Checkout jednym dotknięciem biometrycznym — zakup w mniej niż 5 sekund na urządzeniu mobilnym
- PayPal Express: Obsłuż klientów preferujących PayPal bez przekierowywania na zewnętrzne strony
- Link by Stripe: Powracający użytkownicy Stripe finalizują zakup jednym kliknięciem — wszystko wypełnione automatycznie
- Dynamiczna wysyłka: Obliczanie wysyłki w czasie rzeczywistym w arkuszach płatności
- Automatyczne tworzenie adresów: Adresy z metod płatności zapisywane automatycznie — bez formularzy
- Checkout gościnny: Brak wymogu konta — zakup bez rejestracji
- Synchronizacja webhook: Płatności, zwroty i spory zarządzane przez webhooks Stripe
- Zgodność PCI DSS: Dane kartowe obsługiwane wyłącznie przez certyfikowaną infrastrukturę Stripe
- Wiele walut: Akceptuj płatności w dowolnej walucie obsługiwanej przez Stripe
Najzaawansowana integracja Stripe dla PrestaShop. 30–60% wzrostu konwersji na urządzeniach mobilnych. Kompatybilny z PrestaShop 1.7 do 9.x.
Ekspresowy checkout z dowolnej strony — pomiń koszyk całkowicie
MPR Checkout Revolution to flagowy moduł PrestaShop, który fundamentalnie zmienia doświadczenie checkout. Tradycyjny e-commerce zmusza klientów do wieloetapowego procesu: dodaj do koszyka, wyświetl koszyk, przejdź do checkout, wprowadź dane wysyłki, wprowadź dane płatności, potwierdź zamówienie. Każdy krok w tym lejku to punkt, w którym klienci porzucają zakup — a dane branżowe pokazują, że 70% koszyków jest porzucanych przed finalizacją.
Checkout Revolution eliminuje to tarcie, umożliwiając ekspresowy checkout z dowolnej strony w Twoim sklepie. Strony produktów, strony kategorii, strona koszyka, rozwijane mini-koszyk — gdziekolwiek klient zdecyduje, że chce kupić, przyciski ekspresowej płatności zasilane przez Stripe pozwalają mu sfinalizować zakup w sekundach za pomocą Apple Pay, Google Pay, PayPal, Link by Stripe lub zapisanych danych karty. Bez zakładania konta, bez wielostronicowych formularzy, bez tarcia.
To nie jest prosty moduł bramki płatniczej. To kompletne przeprojektowanie przepływu zakupowego, które przenosi doświadczenie checkout do klienta, zamiast zmuszać klienta do przechodzenia przez checkout. Rezultatem są dramatycznie wyższe współczynniki konwersji, niższe porzucanie koszyków i doświadczenie zakupowe, które dorównuje szybkości i wygodzie oczekiwanej przez klientów od najlepszych platform e-commerce na świecie.
Kluczowe funkcje i korzyści
- Przyciski ekspresowego checkout wszędzie: Przyciski Apple Pay, Google Pay, PayPal i Link by Stripe pojawiają się bezpośrednio na stronach produktów, stronach koszyka i w mini-koszyku. Klienci mogą sfinalizować zakup z dowolnej strony, na której widzą produkt, który chcą.
- Checkout jednym dotknięciem na urządzeniach mobilnych: Na urządzeniach mobilnych z skonfigurowanym Apple Pay lub Google Pay klienci mogą zakupić za pomocą jednego uwierzytelnienia biometrycznego (Face ID, Touch ID, odcisk palca) — najszybsza możliwa droga od „chcę to" do „kupiłem to".
- Stripe Payment Element: Dla klientów preferujących tradycyjną płatność kartą, osadzony Stripe Payment Element zapewnia piękny, bezpieczny formularz karty z walidacją w czasie rzeczywistym, automatyczną detekcją marki karty i obsługą uwierzytelniania 3D Secure.
- Link by Stripe: Powracający klienci, którzy korzystali z usługi Link Stripe na dowolnej stronie, mogą dokonać checkout jednym kliknięciem — adres wysyłki, email i metoda płatności są automatycznie wypełniane.
- Dynamiczne obliczanie wysyłki: Ekspresowy checkout automatycznie oblicza koszty wysyłki na podstawie adresu dostawy klienta (uzyskanego z Apple Pay, Google Pay lub PayPal), prezentując dokładne sumy przed potwierdzeniem płatności.
- Automatyczne tworzenie adresów: Adresy klientów z ekspresowych metod płatności są automatycznie zapisywane na ich koncie PrestaShop, tworząc płynne doświadczenie dla powtarzanych zakupów.
- Wsparcie checkout gościnnego: Klienci mogą sfinalizować ekspresowy checkout bez zakładania konta PrestaShop. Konto jest opcjonalnie tworzone w tle, używając emaila z metody płatności.
- Synchronizacja koszyka i zamówienia: Ekspresowe zakupy prawidłowo aktualizują reguły koszyka PrestaShop, zniżki i poziomy stanów. Potwierdzenia zamówień, emaile i korekty magazynowe działają dokładnie tak, jak przy standardowym checkout.
- Zarządzanie zamówieniami przez webhook: Webhooks Stripe obsługują potwierdzenie płatności, zwroty, spory i zdarzenia subskrypcji, zapewniając synchronizację zarządzania zamówieniami nawet jeśli przeglądarka klienta rozłączy się podczas płatności.
- Obsługa wielu walut: Akceptuj płatności w dowolnej walucie obsługiwanej przez Stripe. Dynamiczna prezentacja walut pokazuje klientom ceny w ich lokalnej walucie.
Wpływ na konwersję
Każde kliknięcie między odkryciem produktu a finalizacją płatności zmniejsza konwersję o 10–15%. Standardowy checkout PrestaShop wymaga minimum 5–7 kliknięć. Ekspresowy checkout redukuje to do 1–2 interakcji. Matematyka jest przekonująca: sklepy wdrażające ekspresowy checkout raportują wzrost współczynnika konwersji o 30–60% na urządzeniach mobilnych i 15–30% na desktopie.
Konwersje Apple Pay i Google Pay są szczególnie dramatyczne na urządzeniach mobilnych, gdzie tradycyjne wypełnianie formularzy jest uciążliwe. Klient przeglądający Twój sklep na telefonie widzi produkt, który chce, dotyka przycisk Apple Pay, potwierdza Face ID — i zamówienie jest złożone — wszystko w mniej niż 5 sekund. To nie jest stopniowa poprawa; to fundamentalna transformacja mobilnego doświadczenia zakupowego.
Integracja PayPal obejmuje znaczny segment klientów preferujących PayPal do zakupów online. Link by Stripe obejmuje powracających użytkowników Stripe, którzy już zapisali swoje dane. Razem te cztery ekspresowe metody płatności pokrywają praktycznie każdą preferencję klienta, zapewniając, że niezależnie od tego, jak klient woli płacić, może to zrobić z minimalnym tarciem z dowolnej strony Twojego sklepu.
Zaawansowana integracja Stripe
Checkout Revolution jest zbudowany na najnowszym Payment Intents API i Payment Element Stripe, zapewniając najbardziej aktualną, bezpieczną i bogatą w funkcje integrację Stripe dostępną dla PrestaShop. Obejmuje to pełną zgodność PCI DSS (wrażliwe dane kartowe nigdy nie trafiają na Twój serwer), automatyczną obsługę 3D Secure dla zgodności SCA w Europie oraz obsługę rozszerzającej się sieci metod płatności Stripe.
Moduł zarządza pełnym cyklem życia płatności Stripe: tworzenie intencji płatności, tworzenie klienta, dołączanie metody płatności, potwierdzenie płatności, przetwarzanie zdarzeń webhook, obsługę zwrotów i zarządzanie sporami. Twój dashboard Stripe i panel administracyjny PrestaShop pozostają idealnie zsynchronizowane dzięki kompleksowej integracji webhook.
Szczegóły techniczne
- Stripe Payment Intents API: Przetwarzanie płatności po stronie serwera z najnowszym API Stripe z automatyczną obsługą SCA/3DS i kluczami idempotentności żądań dla niezawodnego przetwarzania płatności.
- Payment Request API: Przyciski ekspresowego checkout (Apple Pay, Google Pay) wykorzystują W3C Payment Request API przez element Stripe Payment Request Button — bez dodatkowego SDK ani konfiguracji.
- Endpoint webhook: Dedykowany kontroler webhook obsługuje payment_intent.succeeded, charge.refunded, charge.dispute.created i inne krytyczne zdarzenia Stripe dla niezawodnego zarządzania cyklem życia zamówienia.
- Integracja AJAX z koszykiem: Ekspresowy checkout na stronach produktów tworzy lub aktualizuje koszyk PrestaShop przez AJAX, zapewniając prawidłowe zastosowanie reguł koszyka, zniżek i walidacji stanów przed płatnością.
- Klucze idempotentności: Każde żądanie płatności zawiera klucze idempotentności, zapobiegając podwójnym obciążeniom z powodu problemów sieciowych, podwójnych kliknięć przycisku lub odświeżeń strony.
- PCI DSS Poziom 1: Wszystkie wrażliwe dane płatnicze są obsługiwane wyłącznie przez infrastrukturę Stripe certyfikowaną PCI. Twój serwer nigdy nie przetwarza, nie przechowuje ani nie transmituje numerów kart.
- Kompatybilność z multisklepem: Oddzielne konta Stripe i konfiguracje per sklep z niezależnymi endpointami webhook.
- Kompatybilny z PrestaShop 1.7, 8.x i 9.x z dedykowanymi warstwami kompatybilności dla każdej głównej wersji.
Dlaczego ten moduł jest wyjątkowy?
- Jedyny moduł PrestaShop umożliwiający ekspresowy checkout ze stron produktów, koszyka i mini-koszyka — nie tylko ze strony checkout
- Cztery ekspresowe metody płatności (Apple Pay, Google Pay, PayPal, Link) pokrywające praktycznie każdą preferencję klienta
- Checkout jednym dotknięciem biometrycznym na urządzeniach mobilnych (Face ID, Touch ID) — zakup w mniej niż 5 sekund
- Dynamiczne obliczanie wysyłki w arkuszach płatności ekspresowych eliminuje niespodzianki kosztów wysyłki po płatności
- Automatyczne tworzenie adresów z metod płatności eliminuje ręczne wypełnianie formularzy całkowicie
- Kompletne zarządzanie cyklem życia Stripe przez webhooks — płatności, zwroty, spory — wszystko zsynchronizowane
- Idempotentne przetwarzanie płatności zapobiega podwójnym obciążeniom w dowolnych warunkach sieciowych
Przykłady zastosowań
- Sklepy Mobile-First: Sklepy z 60%+ ruchu mobilnego widzą największe wzrosty konwersji dzięki checkout jednym dotknięciem Apple Pay i Google Pay
- Produkty impulsowe: Moda, uroda, akcesoria i żywność, gdzie zmniejszenie tarcia między „chcę to" a „kupiłem to" bezpośrednio zwiększa przychody
- Sklepy z wysokim porzucaniem koszyków: Każdy sklep z 60%+ porzucaniem koszyków zobaczy natychmiastową poprawę dzięki eliminacji wieloetapowego lejka checkout
- Zakupy pojedynczych produktów: Sklepy, gdzie klienci typowo kupują jeden produkt, najbardziej korzystają z ekspresowego checkout na stronie produktu, który pomija koszyk
- Sklepy międzynarodowe: Obsługa wielu walut i automatyczne zarządzanie adresami usuwają tarcie dla klientów transgranicznych
- Subskrypcje i powtarzane zakupy: Rozpoznawanie Link by Stripe sprawia, że powtarzane zakupy są bezwysiłkowe dla powracających klientów na dowolnej stronie obsługiwanej przez Stripe
-
Indeksmprcheckoutrevolution
-
W magazynie999 Przedmioty
-
Kompatybilnosc z PrestaShopPS 1.7 – 9.x
-
Model cenowyJednorazowy zakup
-
Typ moduluFront & Back-office
-
Dotyczy RODONie
-
Cel biznesowyZwiekszyc konwersje
-
Wymagane konto zewnetrzneNie
-
Zlozonosc moduluRozbudowany modul
-
Etap sciezki klientaPrzeksztalcic w kupujacych
-
Dziala z platformaBez zewnetrznej platformy
MPR Express Checkout
Zaawansowana integracja Stripe dla PrestaShop 1.7.8+ zapewniajaca ekspresowy checkout z dowolnej strony. Klienci dokonuja zakupow natychmiast za pomoca portfeli cyfrowych, kart i regionalnych metod platnosci bez tradycyjnego procesu checkout.
Version: 1.7.3 Author: mypresta.rocks License: Commercial PrestaShop Compatibility: 1.6 - 1.7.8.11+
Spis tresci
- Przeglad
- Glowne funkcje
- Metody platnosci
- System motywow ikon
- Architektura
- Schemat bazy danych
- Rozwoj
- Konfiguracja
- Kontrolery Frontend
- Kontrolery Admin
- Punkty integracji
- System ofert/RFQ
- Plan na przyszlosc
Przeglad
MPR Express Checkout przeksztalca doswiadczenie e-commerce, umozliwiajac zakupy jednym kliknieciem ze stron produktow, koszyka i checkout. Zbudowany na API Payment Intents Stripe, obsluguje 31+ metod platnosci, w tym portfele cyfrowe, regionalne przelewy bankowe i rozwiazania Buy Now Pay Later.
Modul oferuje ujednolicony modal checkout, ktory laczy rejestracje klienta, zarzadzanie adresami, wybor wysylki i przetwarzanie platnosci w jednym usprawnionym interfejsie, znaczaco redukujac porzucanie koszykow i zwiekszajac konwersje mobilne.
Glowne funkcje
Doswiadczenie Express Checkout
- One-Click Purchase: Buy directly from product pages, cart, or any page type
- Unified Modal: Single modal interface for complete checkout flow
- Smart Cart Management: Automatic cart creation, merging, and recovery
- Real-Time Validation: Instant voucher validation and shipping calculation
- Mobile Optimized: Native wallet integration (Apple Pay, Google Pay, Samsung Pay)
Przetwarzanie platnosci
- Stripe Integration: Full Stripe Payment Intents API support
- 31+ Payment Methods: Wallets, cards, bank transfers, BNPL, and manual methods
- Saved Cards: Secure card storage for repeat purchases
- Payment Recovery: Abandoned payment cart recovery system
- Webhook Processing: Real-time payment status updates
Doswiadczenie klienta
- Social Login: Google, Facebook, Apple, Microsoft authentication
- Guest Checkout: Complete purchases without account creation
- Address Autocomplete: Google Places API integration
- VAT Validation: VIES API integration for EU businesses
- Multi-Language: Translations for 7+ languages (EN, PL, DE, FR, ES, IT, NL)
Funkcje B2B
- Company Accounts: Multi-user company account support
- VAT Exemption: Tax exemption handling for qualifying businesses
- Purchase Orders: PO number support for credit account payments
- Trade Credit: Credit account payment method
- Quote/RFQ System: Request for Quote workflow with negotiation support
Narzedzia administracyjne
- Dashboard: Transaction overview and performance metrics
- Transaction Management: View and manage all payment transactions
- Refund Processing: Full and partial refund support
- Charge Details: Complete payment and fee breakdown
- Quote Management: Create, edit, and manage customer quotes
- Social Customer Tracking: Monitor social login registrations
- Shipping Service Config: Configure carriers with transit times
- Integrity Checker: Validate module configuration and database
Metody platnosci
Modul obsluguje 31 metod platnosci w wielu kategoriach, kazda z dedykowanymi ikonami i zlokalizowanymi tlumaczeniami.
Portfele i karty (8 metod)
Portfele cyfrowe i platnosci karta z natychmiastowa autoryzacja:
- Google Pay - Google digital wallet (Chrome browser)
- Apple Pay - Apple digital wallet (Safari/iOS)
- Card - Visa, Mastercard, Amex, JCB, Cartes Bancaires
- PayPal - PayPal wallet and account payments
- Amazon Pay - Amazon account payments
- Link - Stripe Link (saved payment details)
- Samsung Pay - Samsung digital wallet
- Revolut - Revolut digital wallet
Europejskie metody bankowe (9 metod)
Regionalne metody platnosci bankowych popularne w Europie:
- iDEAL - Netherlands bank transfer (EUR only)
- Bancontact - Belgian bank payment (EUR only)
- BLIK - Polish mobile payment (PLN only)
- Przelewy24 - Polish online banking (PLN, EUR)
- EPS - Austrian bank transfer (EUR only)
- Multibanco - Portuguese payment system (EUR only)
- Twint - Swiss mobile payment (CHF only)
- Satispay - Italian mobile payment (EUR only)
- MobilePay - Nordic mobile payment (DKK, NOK, SEK, EUR)
Azjatyckie metody platnosci (5 metod)
Popularne metody platnosci na rynkach azjatyckich:
- Alipay - Chinese digital wallet (CNY, EUR, GBP, USD)
- WeChat Pay - Chinese mobile payment (CNY, EUR, GBP, USD)
- Kakao Pay - Korean mobile payment (KRW only)
- Naver Pay - Korean payment platform (KRW only)
- Payco - Korean digital wallet (KRW only)
Buy Now Pay Later (4 metody)
Rozwiazania platnosci ratalnych i odroczonych:
- Klarna - BNPL in 11 currencies (EUR, USD, GBP, SEK, NOK, DKK, CHF, PLN, AUD, NZD, CAD)
- Afterpay / Clearpay - BNPL in 6 currencies (USD, CAD, AUD, NZD, GBP, EUR)
- Alma - French BNPL (EUR, 10 European countries)
- Billie - B2B BNPL (EUR, 7 European countries)
Przelewy bankowe i polecenie zaplaty (1 metoda)
Bezposrednie platnosci z konta bankowego:
- SEPA Debit - European direct debit (EUR only)
Metody manualne/offline (4 metody)
Tradycyjne metody platnosci przetwarzane offline:
- Bank Transfer - Manual bank wire transfer
- Cash on Delivery (COD) - Pay on delivery
- Credit Account - Trade account with credit terms
- Store Pickup - Pay on pickup at physical location
System motywow ikon
Modul zawiera kompleksowy system ikon z 8 wariantami motywow dopasowanymi do dowolnego designu sklepu:
Motywy ikon (4 schematy kolorow)
- Light Mode - Light backgrounds with dark text
- Dark Mode - Dark backgrounds with light text
- Light Accent - Light backgrounds with brand color accents
- Dark Accent - Dark backgrounds with brand color accents
Ksztalty ikon (2 proporcje)
- Rectangle - Wide format for checkout pages and payment options lists
- Square - Compact format for payment buttons and unified modal
Konfiguracja ikon
- Total Icon Variants: 31 methods × 4 themes × 2 shapes = 248 SVG icons
- Path Structure:
views/img/payment-icons/{shape}/{theme}/{method}.svg - Dynamic Theming: Icons loaded based on admin configuration
- Card Brand Icons: Separate icons for Visa, Mastercard, Amex, JCB, Cartes Bancaires
Przykladowe sciezki:
views/img/payment-icons/rectangle/light-mode/google_pay.svg
views/img/payment-icons/square/dark-accent/apple_pay.svg
views/img/payment-icons/rectangle/light-mode/visa.svg
Architektura
Struktura katalogow
mprexpresscheckout/
├── mprexpresscheckout.php # Main module class (3,600+ lines)
├── config.xml # Module metadata
├── composer.json # PHP dependencies
├── package.json # Node.js build tools
├── Gruntfile.js # Grunt task configuration
├── gulpfile.js # Gulp build pipeline
│
├── src/ # Namespaced PHP classes
│ ├── Classes/ # Core business logic (30+ classes, 28K+ lines)
│ │ ├── MPRExpressCheckoutConfig.php # Configuration management
│ │ ├── MPRExpressCheckoutCart.php # Virtual cart handling
│ │ ├── MPRExpressCheckoutTransaction.php # Payment transactions
│ │ ├── MPRExpressCheckoutCharge.php # Stripe charge details
│ │ ├── MPRExpressCheckoutRefund.php # Refund processing
│ │ ├── MPRExpressCheckoutPaymentOption.php # Payment method config
│ │ ├── MPRExpressCheckoutPaymentMethod.php # Saved payment methods
│ │ ├── MPRExpressCheckoutOrderProcessor.php # Order creation logic
│ │ ├── MPRExpressCheckoutAddress.php # Address management
│ │ ├── MPRExpressCheckoutSocialAuth.php # Social login (Google, FB, Apple, MS)
│ │ ├── MPRExpressCheckoutCustomer.php # Customer handling
│ │ ├── MPRExpressCheckoutShippingService.php # Carrier configuration
│ │ ├── MPRExpressCheckoutSession.php # Session tracking
│ │ ├── MPRExpressCheckoutWebhookEvent.php # Stripe webhook handler
│ │ ├── MPRExpressCheckoutVatValidator.php # EU VAT validation
│ │ ├── MPRExpressCheckoutSMS.php # SMS notifications
│ │ ├── MPRExpressCheckoutIntegrity.php # System integrity checks
│ │ ├── MPRExpressCheckoutAdminOrder.php # Admin order creation
│ │ ├── MPRExpressCheckoutDbQuery.php # Database query builder
│ │ ├── MPRExpressCheckoutErrorHandler.php # Error handling
│ │ ├── MPRExpressCheckoutTranslations.php # Translation management
│ │ ├── MPRExpressCheckoutQuote.php # Quote management (ObjectModel)
│ │ ├── MPRExpressCheckoutQuoteItem.php # Quote line items (ObjectModel)
│ │ ├── MPRExpressCheckoutQuoteStatus.php # Quote status workflow (ObjectModel)
│ │ ├── MPRExpressCheckoutQuoteMessage.php # Quote messaging (ObjectModel)
│ │ ├── MPRExpressCheckoutQuoteHistory.php # Quote audit trail (ObjectModel)
│ │ └── MPRExpressCheckoutQuotePdf.php # Quote PDF generation
│ │
│ ├── Config/ # Configuration classes
│ │ ├── PaymentMethodsConfig.php # All payment method definitions
│ │ └── PaymentMethodsTranslations.php # Multi-language translations
│ │
│ └── Traits/ # Reusable trait components
│ ├── AdminController/ # Admin list management traits
│ ├── Compatiblility/ # PrestaShop compatibility
│ ├── ObjectModel/ # ORM extensions
│ └── Associations/ # Database associations
│
├── controllers/ # PrestaShop controllers
│ ├── front/ # Frontend controllers (20 controllers)
│ │ ├── Checkout.php # Main checkout modal
│ │ ├── Processing.php # Payment processing
│ │ ├── Ajax.php # AJAX endpoint handler
│ │ ├── Webhook.php # Stripe webhook receiver
│ │ ├── PaymentStatus.php # Payment status page
│ │ ├── Recover.php # Cart recovery
│ │ ├── Cards.php # Saved cards management
│ │ ├── Login.php # Customer login
│ │ ├── Register.php # Customer registration
│ │ ├── ForgotPassword.php # Password recovery
│ │ ├── Account.php # Customer account
│ │ ├── Identity.php # Personal information
│ │ ├── Address.php # Single address management
│ │ ├── Addresses.php # Address book
│ │ ├── Cart.php # Cart management
│ │ ├── Quotes.php # Customer quotes list
│ │ ├── Quote.php # Single quote detail view
│ │ ├── QuoteRequest.php # Quote request form
│ │ └── QuotePdf.php # Quote PDF download
│ │
│ └── admin/ # Backend controllers (16 controllers)
│ ├── AdminMPRExpressCheckoutDashboardController.php
│ ├── AdminMPRExpressCheckoutConfigController.php
│ ├── AdminMPRExpressCheckoutTransactionsController.php
│ ├── AdminMPRExpressCheckoutChargesController.php
│ ├── AdminMPRExpressCheckoutRefundsController.php
│ ├── AdminMPRExpressCheckoutPaymentOptionsController.php
│ ├── AdminMPRExpressCheckoutPaymentMethodsController.php
│ ├── AdminMPRExpressCheckoutSocialCustomersController.php
│ ├── AdminMPRExpressCheckoutCartsController.php
│ ├── AdminMPRExpressCheckoutSessionsController.php
│ ├── AdminMPRExpressCheckoutShippingServiceController.php
│ ├── AdminMPRExpressCheckoutQuotesController.php
│ ├── AdminMPRExpressCheckoutQuoteStatusesController.php
│ ├── AdminMPRExpressCheckoutIntegrityController.php
│ └── AdminMPRExpressCheckoutAjaxController.php
│
├── views/ # Frontend assets and templates
│ ├── templates/ # Smarty templates
│ │ ├── front/ # Frontend templates
│ │ ├── admin/ # Admin templates
│ │ ├── hook/ # Hook templates
│ │ └── _partials/ # Reusable template components
│ ├── js/ # JavaScript (compiled)
│ ├── css/ # Stylesheets (compiled)
│ └── img/ # Images and icons
│ ├── payment-icons/ # Payment method icons (248 SVG files)
│ │ ├── rectangle/ # Wide format icons
│ │ │ ├── light-mode/
│ │ │ ├── dark-mode/
│ │ │ ├── light-accent/
│ │ │ └── dark-accent/
│ │ └── square/ # Square format icons
│ │ ├── light-mode/
│ │ ├── dark-mode/
│ │ ├── light-accent/
│ │ └── dark-accent/
│ ├── buttons/ # Express checkout button graphics
│ └── options/ # UI element icons
│
├── sources/ # Source files for build
│ ├── js/ # JavaScript source files
│ └── css/ # SCSS source files
│
├── sql/ # Database installation
│ ├── install.php # Table creation (28 tables)
│ └── uninstall.php # Table cleanup
│
├── upgrade/ # Version upgrade scripts
├── translations/ # Language files
├── mails/ # Email templates
├── vendor/ # Composer dependencies
└── node_modules/ # NPM build dependencies
Schemat bazy danych
Modul tworzy 34 tabele bazy danych do zarzadzania wszystkimi aspektami express checkout:
Tabele glowne
mprexpresscheckout_cart - Virtual cart storage
- Stores express checkout sessions with customer data, addresses, and selections
- Includes cart recovery data with expiry dates
- Tracks page context (product, cart, checkout, etc.)
mprexpresscheckout_config - Module configuration
- Key-value storage with context support (shop, language, group)
- Multilingual configuration via
_langtable
mprexpresscheckout_payment_options - Payment method configuration
- Payment method settings and availability
- Context-based restrictions (country, currency, browser, page type)
- Position ordering and Stripe enablement flags
Tabele transakcji i platnosci
mprexpresscheckout_transactions - Payment transactions
- Links virtual carts to orders
- Transaction type tracking (express, checkout, terminal, invoice, etc.)
- Payment state management and error tracking
mprexpresscheckout_charges - Stripe charge details
- Payment Intent and Charge IDs
- Fee calculation and exchange rates
- Risk assessment scores
- Receipt URLs and payment method details
mprexpresscheckout_refunds - Refund records
- Full and partial refund tracking
- Employee attribution
- Refund state and reason tracking
mprexpresscheckout_payment_methods - Saved payment methods
- Stored card details (last4, brand, expiry)
- Links to Stripe Customer IDs
Tabele klientow i Social Login
mprexpresscheckout_customers - Stripe customer mapping
- Links PrestaShop customers to Stripe Customer IDs
- Email tracking for guest customers
mprexpresscheckout_social_customers - Social authentication
- Google, Facebook, Apple, Microsoft account links
- Platform user IDs and profile pictures
mprexpresscheckout_social_logins - Login tracking
mprexpresscheckout_social_registrations - Registration tracking
Tabele wysylki i dostawy
mprexpresscheckout_shipping_service - Carrier configuration
- Transit time estimates (min/max days)
- Display modes and position ordering
- Separate activation flags for express checkout and OPC
mprexpresscheckout_shipping_service_lang - Carrier translations
mprexpresscheckout_shipping_service_payment_options - Payment method restrictions per carrier
mprexpresscheckout_shipping_service_external_modules - Third-party carrier module integration
Tabele szczegolow wirtualnego koszyka
mprexpresscheckout_cart_customer - Customer information
mprexpresscheckout_cart_product - Cart products
mprexpresscheckout_cart_address - Shipping/billing addresses
mprexpresscheckout_cart_rule - Applied vouchers/discounts
Tabele sesji i sledzenia
mpr_sessions - Shared session tracking
- Device, browser, OS detection
- UTM campaign tracking
- Landing page tracking
- IP and user agent storage
mprexpresscheckout_admin_preferences - Admin user preferences
mprexpresscheckout_admin_order - Admin-created orders
mprexpresscheckout_sso_codes - SMS authentication codes
mprexpresscheckout_customer_vat - VAT validation results
Tabele B2B i firmowe
mpr_customer - Extended customer data
- Default preferences (address, carrier, payment)
- Two-factor authentication settings
- Marketing consent tracking (GDPR compliant)
- Tax exemption status
mpr_company - Company account data
- VAT number and validation
- Company verification status
- Invite links and domain matching
mpr_company_member - Company membership
- Role-based access (admin/member)
- Granular permissions (advanced mode)
- Join method tracking (invite, domain, VAT, admin)
mpr_company_address - Shared company addresses
mpr_company_invite - Email-based company invitations
Tabele ofert/RFQ
mprexpresscheckout_quote - Quote management
- Customer and shop associations
- Pricing totals (products, shipping, discounts, tax)
- Validity dates and payment link tokens
- Status tracking and order conversion
- Admin/customer message history
mprexpresscheckout_quote_item - Quote line items
- Product references with attributes
- Custom pricing (original vs. quoted price)
- Quantity and discount tracking
- Tax rate and amount
mprexpresscheckout_quote_status - Quote workflow statuses
- Status name and color coding
- Multilingual labels via
_langtable - System flags for built-in statuses
- Position ordering
mprexpresscheckout_quote_message - Quote communication
- Customer and admin messages
- Timestamps and read status
- Employee attribution for admin messages
mprexpresscheckout_quote_history - Quote audit trail
- Status change tracking
- Employee attribution
- Timestamp logging
Rozwoj
Wymagania wstepne
Modul wymaga srodowiska deweloperskiego Docker. Zobacz CLAUDE.md w katalogu glownym repozytorium.
Wymagane narzedzia:
- PHP 8.4.11 (via Docker
dev-toolscontainer) - Node.js 20.19.2
- npm 9.2.0
- Composer 2.8.12
Komendy build
Wszystkie komendy musza byc uruchamiane przez kontener Docker:
# Navigate to module directory
cd /mnt/hdd/docker/ps178-mprexpresscheckout/html/modules/mprexpresscheckout
# Install PHP dependencies
sudo docker exec -w "$PWD" dev-tools composer install
# Install Node.js dependencies
sudo docker exec -w "$PWD" dev-tools npm install
# Build all assets (JavaScript + CSS)
sudo docker exec -w "$PWD" dev-tools npm run build
# Watch for changes during development
sudo docker exec -w "$PWD" dev-tools npm run watch
# JavaScript build only
sudo docker exec -w "$PWD" dev-tools npm run js:build
sudo docker exec -w "$PWD" dev-tools npm run js:watch
# Webpack build
sudo docker exec -w "$PWD" dev-tools npm run webpack:build
sudo docker exec -w "$PWD" dev-tools npm run webpack:watch
System build
Modul uzywa hybrydowego systemu build:
Gulp - Glowne narzedzie build
- SCSS compilation to CSS
- JavaScript bundling with Rollup
- Minification with Terser
- Source file watching
Webpack - Alternatywny bundler
- Module bundling
- Code splitting
- Production optimization
Grunt - Pakowanie wydania
- ZIP archive creation for distribution
Pliki zrodlowe
JavaScript Sources: sources/js/
- Organized by feature (checkout, payment, social, etc.)
- ES6+ syntax with transpilation
- Compiled to
views/js/
CSS Sources: sources/css/
- SCSS with variables and mixins
- Component-based structure
- Compiled to
views/css/
Jakosc kodu
# PHP syntax check
sudo docker exec -w "$PWD" dev-tools php -l file.php
# Check PHP version
sudo docker exec dev-tools php -v
# Check installed PHP modules
sudo docker exec dev-tools php -m
Konfiguracja
Strony konfiguracji admin
Dostep przez panel administracyjny PrestaShop pod Modules > Module Manager > MPR Express Checkout.
Glowne zakladki:
- Dashboard - Transaction overview and statistics
- Configuration - Stripe API keys, payment method settings, icon themes
- Transactions - All payment transactions with filters
- Charges - Stripe charge details and fees
- Refunds - Refund management interface
- Payment Options - Enable/disable methods, set restrictions
- Payment Methods - Customer saved payment methods
- Social Customers - Social login registrations
- Carts - Express checkout cart sessions
- Sessions - Traffic and attribution tracking
- Shipping Services - Carrier configuration
- Quotes - Quote management and creation
- Quote Statuses - Customize quote workflow statuses
- Integrity - System health checks
Konfiguracja metod platnosci
Kazda metoda platnosci moze byc skonfigurowana z:
- Enabled/Disabled status
- Country restrictions (specific countries only)
- Currency restrictions (supported currencies only)
- Browser restrictions (e.g., Apple Pay requires Safari)
- Page type restrictions (product, cart, checkout)
- Shop/Language/Group context (multistore support)
Ustawienia motywow ikon
Konfiguracja w zakladce Configuration:
- Icon Theme: Light Mode, Dark Mode, Light Accent, Dark Accent
- Card Display Mode: Generic card icon OR individual card brand icons
- Card Brands: Select which card brands to display (Visa, Mastercard, Amex, JCB, Cartes Bancaires)
Ustawienia Stripe
Wymagana konfiguracja:
- Test Mode API Key (Publishable & Secret)
- Live Mode API Key (Publishable & Secret)
- Webhook Secret (for payment status updates)
- Mode Toggle (Test/Live)
Ustawienia Social Login
Skonfiguruj dane uwierzytelniajace OAuth dla:
- Google - Client ID and Client Secret
- Facebook - App ID and App Secret
- Apple - Service ID, Team ID, Key ID, Private Key
- Microsoft - Client ID and Client Secret
Google Places API
Dla autouzupelniania adresow:
- API Key - Google Maps JavaScript API with Places library enabled
Kontrolery Frontend
Modul zapewnia 16 kontrolerow frontend dostepnych przez linki modulu:
Kontrolery procesu checkout
Checkout.php - Main unified checkout modal
- Displays payment method selection
- Handles customer authentication
- Manages address forms
- Shipping method selection
- Order review and confirmation
Processing.php - Payment processing handler
- Stripe Payment Intent confirmation
- Order creation after successful payment
- Redirect to order confirmation
PaymentStatus.php - Payment result page
- Success/failure messaging
- Order details display
- Error handling
Kontrolery zarzadzania klientami
Login.php - Customer login
- Email/password authentication
- Social login integration
- Remember me functionality
Register.php - Customer registration
- Account creation form
- Social registration
- Email verification
ForgotPassword.php - Password recovery
- Email-based password reset
- Security code generation
Account.php - Customer account overview
Identity.php - Personal information management
Kontrolery zarzadzania adresami
Address.php - Single address CRUD
- Add new address
- Edit existing address
- Delete address
- Google Places autocomplete integration
Addresses.php - Address book listing
- View all addresses
- Set default addresses
- Quick actions
Kontrolery platnosci i koszyka
Cards.php - Saved payment methods
- List stored cards
- Delete payment methods
- Set default card
Cart.php - Cart management
- View cart contents
- Update quantities
- Apply vouchers
Recover.php - Cart recovery
- Recover abandoned carts via email link
- Restore cart session
- Continue to checkout
Kontrolery ofert
Quotes.php - Customer quotes list
- View all quotes with status filtering
- Pagination and sorting
- Quick actions (view, download PDF)
Quote.php - Single quote detail view
- Quote items with pricing
- Status and validity display
- Accept/reject quote actions
- Request changes functionality
- Messaging with admin
- Payment link access
QuoteRequest.php - Quote request form
- Request quote for single product
- Request quote for entire cart
- Guest and logged-in customer support
- Custom message to admin
QuotePdf.php - Quote PDF download
- Generate professional PDF quotes
- Customer-facing download
- Secure token validation
Kontrolery API
Ajax.php - AJAX endpoint handler
- Address validation
- Shipping rate calculation
- Voucher validation
- Country/state lists
- Product availability checks
Webhook.php - Stripe webhook receiver
- Payment Intent updates
- Charge succeeded/failed events
- Refund notifications
- Automatic order status updates
Kontrolery Admin
16 kontrolerow backend zarzadza wszystkimi funkcjami administracyjnymi:
AdminMPRExpressCheckoutDashboardController - Main dashboard with KPIs
AdminMPRExpressCheckoutConfigController - Module configuration interface
AdminMPRExpressCheckoutTransactionsController - Transaction list and details
- Filter by status, date, amount, customer
- Export to CSV
- View transaction timeline
AdminMPRExpressCheckoutChargesController - Charge details
- Payment Intent and Charge IDs
- Fee breakdown
- Risk scores
- Receipt links
AdminMPRExpressCheckoutRefundsController - Refund management
- Initiate full/partial refunds
- View refund history
- Track refund status
AdminMPRExpressCheckoutPaymentOptionsController - Payment method settings
- Enable/disable methods
- Set country/currency restrictions
- Configure context rules
- Reorder display positions
AdminMPRExpressCheckoutPaymentMethodsController - Customer saved cards
- View all stored payment methods
- Delete payment methods
- Customer association
AdminMPRExpressCheckoutSocialCustomersController - Social login tracking
- View social registrations
- Platform statistics
- Login history
AdminMPRExpressCheckoutCartsController - Express checkout sessions
- View virtual carts
- Cart recovery status
- Customer matching
- Expiry management
AdminMPRExpressCheckoutSessionsController - Traffic analytics
- Session tracking
- UTM campaign data
- Landing page analysis
- Device/browser stats
AdminMPRExpressCheckoutShippingServiceController - Carrier configuration
- Set transit times
- Configure display modes
- Payment method restrictions
- External module integration
AdminMPRExpressCheckoutQuotesController - Quote management
- View and filter all quotes
- Create quotes from admin
- Edit quote items and pricing
- Send quotes to customers
- Convert quotes to orders
- Generate payment links
- Message customers
- View quote history
AdminMPRExpressCheckoutQuoteStatusesController - Quote status management
- Create custom statuses
- Edit status colors and labels
- Multilingual status names
- Reorder status display
AdminMPRExpressCheckoutIntegrityController - System health checks
- Database integrity validation
- Configuration validation
- File integrity checks
- Dependency verification
AdminMPRExpressCheckoutAjaxController - Admin AJAX endpoint
- Dynamic form updates
- Autocomplete suggestions
- Quick actions
Punkty integracji
PrestaShop Hooks
Modul podlacza sie do wielu punktow cyklu zycia PrestaShop:
Hooki strony produktu:
displayProductAdditionalInfo- Express checkout button on product pagesdisplayProductActions- Alternative button placement
Hooki koszyka:
displayShoppingCart- Express checkout in cartdisplayShoppingCartFooter- Cart footer buttons
Hooki checkout:
displayPaymentReturn- Order confirmation messagingpaymentOptions- Add payment methods to checkoutdisplayOrderConfirmation- Post-order actions
Hooki klienta:
actionAuthentication- Post-login actionsactionCustomerAccountAdd- Post-registration actionsactionObjectCustomerUpdateAfter- Customer data sync
Hooki zamowien:
actionValidateOrder- Order creation trackingactionOrderStatusUpdate- Sync order status with StripedisplayAdminOrder- Admin order page additions
Hooki Header/Footer:
displayHeader- Load Stripe.js and module assetsdisplayFooter- Initialize checkout scripts
Zewnetrzne integracje API
Stripe API
- Payment Intents API for payment processing
- Customers API for saved payment methods
- Charges API for transaction details
- Refunds API for refund processing
- Webhooks for real-time updates
Google APIs
- Google Sign-In for OAuth authentication
- Google Places API for address autocomplete
Facebook API
- Facebook Login for OAuth authentication
- Graph API for user profile data
Apple Sign In
- Sign in with Apple for iOS/macOS users
- JWT token validation
Microsoft Identity Platform
- Microsoft account authentication
- Azure AD integration
VIES API
- EU VAT number validation
- Company verification
System ofert/RFQ
Modul zawiera kompleksowy system ofert/zapytan ofertowych (RFQ) dla handlu B2B, umozliwiajac klientom zadanie indywidualnych cen, a administratorom tworzenie dostosowanych ofert.
Workflow ofert
Cykl zycia statusow:
- Pending - Initial quote request from customer
- Draft - Admin is preparing the quote
- Sent - Quote sent to customer for review
- Negotiating - Customer requested changes, discussion ongoing
- Accepted - Customer accepted the quote
- Rejected - Customer declined the quote
- Expired - Quote validity period passed
- Converted - Quote converted to order
- Cancelled - Quote cancelled by admin
Funkcje klienta
Zapytanie ofertowe:
- Request quotes from product pages via "Request Quote" button
- Request quotes for entire cart contents
- Add custom messages explaining requirements
- Guest quote requests (if enabled)
Zarzadzanie ofertami:
- View all quotes in "My Quotes" section of customer account
- See pending quote count badge
- View detailed quote with itemized pricing
- Accept or reject quotes with one click
- Request changes with explanation message
- Message admin directly on quote detail page
- Download PDF version of quotes
- Access payment link for accepted quotes
Funkcje administracyjne
Tworzenie oferty:
- Create quotes from admin panel
- Import products from existing cart or order
- Add products with custom pricing
- Set item-level discounts
- Configure shipping costs
- Set quote validity period
Zarzadzanie ofertami:
- View all quotes with advanced filtering
- Edit quote items and pricing anytime
- Send quotes to customers
- Generate secure payment links
- View and respond to customer messages
- Track full quote history (status changes, messages)
- Convert accepted quotes to orders
Statusy ofert:
- 9 built-in statuses with colors
- Create custom statuses
- Multilingual status labels
- Reorder status display
Generowanie PDF
Profesjonalne oferty PDF zawieraja:
- Company logo and branding
- Quote reference and dates
- Customer billing/shipping addresses
- Itemized product list with images
- Individual and total pricing
- Terms and conditions
- Validity period
- Custom footer text
Opcje konfiguracji
- Enable/disable quote system globally
- Show/hide "Request Quote" button on product pages
- Show/hide "Request Quote" button in cart
- Allow guest quote requests
- Default quote validity period
- PDF customization (logo, terms, footer)
- Email notifications for quote events
Hooks
Hooki produktu/koszyka:
displayQuoteButtonProduct- "Request Quote" button on product pagesdisplayShoppingCartFooter- "Request Quote" button in cart
Konto klienta:
displayCustomerAccount- "My Quotes" link with pending badge
Plan na przyszlosc
Planowane funkcje
Rozszerzenie metod platnosci
- Additional regional payment methods
- Cryptocurrency support (Bitcoin, Ethereum)
- Local payment gateways beyond Stripe
Ulepszone funkcje B2B
Quote request system✅ Implemented- Approval workflows for company purchases
- Custom pricing per company/customer
- Volume discount automation
- Credit limit enforcement
Zaawansowane odzyskiwanie koszyka
- Multi-step email sequences
- SMS cart recovery
- Push notifications for abandoned carts
- Dynamic discount offers in recovery emails
Analityka i raportowanie
- Conversion funnel analysis
- Payment method performance comparison
- Geographic sales mapping
- Customer lifetime value tracking
- A/B testing framework for checkout variations
Subskrypcje i platnosci cykliczne
- Subscription product support
- Automatic recurring billing
- Subscription management portal
- Trial period handling
Ulepszenia wielowalutowe
- Dynamic currency conversion at checkout
- Display prices in customer's local currency
- Multi-currency saved payment methods
Integracja z aplikacja mobilna
- Native mobile SDK
- In-app payment processing
- Mobile wallet integration expansion
Funkcje oparte na AI
- Fraud detection using machine learning
- Predictive cart abandonment prevention
- Smart payment method recommendations
- Personalized checkout experiences
Optymalizacje wydajnosci
- Service worker for offline cart management
- Progressive web app (PWA) checkout
- Lazy loading of payment method scripts
- CDN integration for static assets
Zgodnosc i bezpieczenstwo
- PSD2 Strong Customer Authentication (SCA)
- GDPR data export/deletion tools
- SOC 2 compliance reporting
- Enhanced fraud prevention rules
Narzedzia deweloperskie
Zestaw testow
- Unit tests for all classes
- Integration tests for payment flows
- End-to-end testing with Puppeteer
- Performance benchmarking tools
API & Webhooks
- Public API for headless commerce
- Custom webhook events
- GraphQL API support
Dokumentacja
- Developer API documentation
- Integration guides for third-party modules
- Theme customization guide
- Video tutorials
Wsparcie i zasoby
Documentation: /docs/ directory
License: Commercial - restricted domains only
Author: mypresta.rocks (info@mypresta.rocks)
Repository: https://github.com/myprestarocks/mprexpresscheckout
Specyfikacje techniczne
PHP Requirements: 7.1.3+ (Tested with PHP 8.4.11) PrestaShop Version: 1.6 - 1.7.8.11+ Database: MySQL 5.5+ / MariaDB Zewnetrzne zaleznosci:
- Stripe PHP SDK (via Composer)
- Firebase JWT (for social login token validation)
- Google Closure Compiler (dev dependency)
- Webpack, Gulp, Grunt (dev dependencies)
Obsluga przegladarek:
- Chrome 90+ (Google Pay, Samsung Pay)
- Safari 14+ (Apple Pay)
- Firefox 88+
- Edge 90+
- Mobile browsers (iOS Safari 14+, Chrome Mobile 90+)
Rozmiar modulu:
- Total Lines of Code: 35,000+ (PHP classes, controllers, templates)
- Core Classes: 30+ (28,000+ lines)
- Controllers: 36 (20 frontend + 16 admin)
- Database Tables: 34
- SVG Icons: 248
- Supported Languages: 7
Licencja
To jest modul komercyjny licencjonowany do uzytku tylko na okreslonych domenach. Nieuprawnione uzycie, dystrybucja lub modyfikacja sa zabronione.
Copyright (c) mypresta.rocks - Wszelkie prawa zastrzezone.
v1.7.3 — 2026-02-15
- ▸Added PS 9.1 compatibility with Hummingbird checkout template overrides
- ▸Fixed express checkout button not rendering in minicart dropdown
- ▸Added address autocomplete integration with Google Places API
- ▸Fixed order summary not updating when changing carrier via AJAX
- ▸Improved checkout step validation with inline error messages
- ▸Fixed guest checkout email field not validating on blur
v1.7.2 — 2025-10-02
- ▸Added PS 9.0 compatibility
- ▸New one-page checkout layout option (all steps visible simultaneously)
- ▸Fixed payment method list not refreshing after address country change
- ▸Added order note field with configurable character limit
- ▸Fixed checkout progress bar not reflecting completed steps on page reload
- ▸Improved performance: reduced checkout page API calls from 8 to 3
v1.7.1 — 2025-06-18
- ▸Fixed Terms & Conditions checkbox not blocking order submission when unchecked
- ▸Added gift wrapping option with message field in checkout flow
- ▸Fixed delivery date picker conflicting with carrier selection validation
- ▸Added customer group-specific checkout field visibility rules
- ▸Improved mobile checkout layout with single-column responsive design
v1.7.0 — 2025-02-25
- ▸New customizable checkout field builder (add/remove/reorder fields)
- ▸Added smart address form with conditional field display by country
- ▸Added checkout abandonment tracking with recovery email integration
- ▸Fixed VAT number validation failing for EU B2B customers
- ▸Added social login (Google, Facebook, Apple) at checkout registration step
- ▸Improved WCAG 2.1 accessibility compliance for all checkout elements
v1.6.0 — 2024-10-30
- ▸Added PS 8.2 compatibility with Symfony form components
- ▸New multi-address delivery support (split order to different addresses)
- ▸Added real-time carrier rate calculation during address entry
- ▸Fixed coupon code field not showing error feedback for invalid codes
- ▸Added checkout analytics events for Google Analytics 4 (GA4)
v1.5.0 — 2024-07-08
- ▸Added saved address selection with edit-in-place functionality
- ▸New checkout step summary showing selected options before payment
- ▸Added payment method logos with configurable display order
- ▸Fixed checkout form autofill not triggering validation on Chrome
- ▸Improved error handling with clear user-facing messages for API failures
v1.4.0 — 2024-03-12
- ▸Initial major feature release with redesigned checkout flow
- ▸Two-column layout: order form and live order summary
- ▸Step-by-step checkout with progress indicator
- ▸Guest checkout with optional account creation post-purchase
- ▸Inline field validation with real-time feedback
- ▸Support for PS 1.7.6+ and PS 8.x
Latwy zwrot - bez pytan
Zainstaluj, skonfiguruj i zarabiaj
Priorytet pomocy i satysfakcji
No reviews yet. Be the first to leave a review!
Write a Review