Download the PHP package rapidez/magento2-standalone-checkout without Composer

On this page you can find all versions of the php package rapidez/magento2-standalone-checkout. 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 magento2-standalone-checkout

Magento Rapidez StandaloneCheckout

This Magento module will send users with a valid cart to the Rapidez checkout instead of the Magento checkout so Rapidez can be used as a standalone checkout.

Installation

Install the package using composer

Enable the module

Configuration

All you need to do is set the Rapidez url in the standalone checkout config. You can do so under Stores > Configuration > Rapidez > Standalone Checkout > Rapidez Url

If this is not set the default Magento checkout will still be used.

Considerations

Registration

Rapidez' Registration feature will not automatically log you in to Magento

Rapidez header

By default Rapidez shows a full header and menu on the success page, you might want to consider showing the limited header instead.

How does it work?

We hook into the checkout controller, if we have a Rapidez url set. And have a valid cart mask/hash we will make a call to Rapidez' api/get-checkout-url endpoint with the mask. Rapidez then stores the mask for safekeeping, and returns a redirect url containing the key to get the mask.

Magento will redirect you to this url, then Rapidez can add the mask to your cookies and remove the key from storage. Once Rapidez has that we can get all info we need using GraphQL.

Sounds complicated, why?

Because anyone with the cart mask or customer token can impersonate you, so we need to get them across securely. Magento and Rapidez do not have to run on the same domain so the session can not be shared. We cannot add the mask to the url parameters of a redirect because any man in the middle would be able to copy the link and be logged in as you.

The link Rapidez generates is valid only once, so even if someone got a hold of it the mask and token are no longer available on that url.


All versions of magento2-standalone-checkout with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0 || ^8.1
guzzlehttp/guzzle Version *
magento/framework Version *
magento/module-checkout Version *
magento/module-customer Version *
magento/module-integration Version *
magento/module-quote Version *
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 rapidez/magento2-standalone-checkout contains the following files

Loading the files please wait ....