Annonce
Astral Shop 1.1.1 + PayPal + hub MVC 1.2.7.1
Publié le 2026-10-24
Payer avec PayPal (Orders v2), capture, webhook et remboursements. Hub doc 1.2.7.1.
Astral Shop 1.1.1 et le composant astral-paypal 0.1.0 sont sur Packagist. Le hub Astral MVC 1.2.7.1 documente ce patch (PayPal prévu dans 1.2.7).
Boutique 1.1.1 — PayPal
- Moyen de paiement PayPal au checkout (en plus de Stripe et offline)
- Redirect Orders API v2 → approbation → capture
- Return / cancel URL + webhook
PAYMENT.CAPTURE.COMPLETED - Remboursement admin (capture refund) + flux demande client / retour colis
composer create-project astral-php/astral-shop ma_boutique
cd ma_boutique
cp .env.example .env
# PAYPAL_MODE=sandbox + CLIENT_ID / SECRET (+ WEBHOOK_ID)
php bin/console migrate
Package astral-paypal 0.1.0
-
PaypalService: createOrder, captureOrder, refundCapture, parseWebhook - Events
PaymentSucceeded/Failed/Refunded - Sandbox d’abord (
PAYPAL_MODE=sandbox)
composer require astral-php/astral-paypal
Suite
- Shop 1.5.0 (optimisation worker / cache)
- Hub 1.2.8 (shop 1.5 + astral-testing) — fin de la ligne ^1
Liens
- Shop : astral-php/astral-shop 1.1.1
- PayPal : astral-php/astral-paypal 0.1.0
- Hub : astral-php/astral 1.2.7.1
- Site : astral-php.dev