Download the PHP package mobupay/mobupay-sylius without Composer

On this page you can find all versions of the php package mobupay/mobupay-sylius. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mobupay-sylius

Mobupay pour Sylius (Payum)

Passerelle de paiement Mobupay pour Sylius via Payum (modèle offsite / redirect). Réutilise le SDK PHP mobupay/mobupay-php déjà publié (création de session, remboursement, vérification de signature webhook). Statut : code-complet, e2e à valider sur une instance Sylius (aucune demande NC mesurée).

Modèle

Offsite redirect, comme les autres connecteurs Mobupay (non-PSP) : à la validation de la commande, CaptureAction crée une session Mobupay et redirige l'acheteur vers la page hébergée Mobupay. À la fin du paiement, Mobupay notifie la route Payum payum_notify (NotifyAction) qui marque le paiement payé ; StatusAction mappe l'état pour Sylius.

Fichiers

Fichier Rôle
src/MobupaySyliusPlugin.php Bundle Symfony du plugin
src/DependencyInjection/MobupaySyliusExtension.php Charge services.yaml
src/Resources/config/services.yaml Enregistre la gateway factory mobupay + le form type de config
src/Form/Type/MobupayGatewayConfigurationType.php Champs de config admin (clé API, whsec, api_base, sandbox)
src/MobupayGatewayFactory.php Fabrique Payum (config api_key, webhook_secret, sandbox)
src/Action/CaptureAction.php Crée la session Mobupay + HttpRedirect vers la page hébergée
src/Action/StatusAction.php Mappe le statut stocké → statut Payum (captured/pending/failed)
src/Action/NotifyAction.php Webhook Mobupay (signé V2) → met le paiement à jour
src/Action/RefundAction.php Remboursement total/partiel via le SDK
composer.json Dépendances : mobupay/mobupay-php, payum/core

Installation

  1. composer require mobupay/mobupay-sylius (ou dépôt/chemin local le temps de la publication).
  2. Enregistrer le bundle dans config/bundles.php :

  3. Admin Sylius › Paiements › Nouvelle méthode → factory Mobupay → renseigner la clé API sk_… et le secret webhook whsec_… (form fourni par le plugin).
  4. La route de notification Payum (payum_notify_do_unsafe, param gateway=mobupay) est l'URL webhook — gérée automatiquement par CaptureAction via le token de notification.

Reste (e2e instance Sylius)

Mapping des états de commande Sylius (paid/refunded), remboursement depuis l'admin (plugin RefundPlugin), montant en unité mineure (centimes EUR / unité XPF), tests succès/échec/annulation/remboursement.


All versions of mobupay-sylius with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
payum/core Version ^1.7
mobupay/mobupay-php Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mobupay/mobupay-sylius contains the following files

Loading the files please wait ...