Download the PHP package webburza/payum-setefi without Composer

On this page you can find all versions of the php package webburza/payum-setefi. 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 payum-setefi

Setefi Payum gateway

A Payum gateway for Setefi payment processor.

Note: all user IDs, passwords and secrets listed are documented by Setefi (section "TEST ENVIRONMENT CREDENTIALS") and shared with all other Setefi sandbox users, they're NOT a secret.

Sylius Integration

After having done this, enable the payment method in the Sylius admin interface.

(Note: Any testing of the integration must be done on a public-accessible URL (ie. by using ngrok) because Setefi backend needs to be able to do valid server-to-server requests for the process to complete successfully.)

Setefi sandbox environment

Log in to Setefi's sandbox environment:

(Note: these are documented by Setefi and shared among all sandbox users, they're NOT a secret)

Note that your transactions will be among all other sandbox's users' transactions, you need to find your own to verify it works.

Technical implementation

Transaction sequence

  1. Webburza\Payum\Setefi\Action\StatusAction marks the payment request as new
  2. Webburza\Payum\Setefi\Action\CaptureAction triggers Webburza\Payum\Setefi\Request\CreateTransaction request
  3. a new Setefi transaction is created using Webburza\Payum\Setefi\Action\CreateTransactionAction and a server-to-server (S2S) request
  4. if successful, the user is redirected to Setefi web interface
    1. if payment successful, Setefi does a S2S request and Webburza\Payum\Setefi\Action\StatusAction marks the payment request as captured
    2. if payment not successful, Setefi does a S2S request and Webburza\Payum\Setefi\Action\StatusAction marks the payment request as canceled
  5. response to 5. is a valid redirect URL for Setefi to redirect to user back to
  6. process complete

Transaction sequence


All versions of payum-setefi with dependencies

PHP Build Version
Package Version
Requires payum/core Version ^1.3
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 webburza/payum-setefi contains the following files

Loading the files please wait ....