Download the PHP package mediarox/module-compatibility-amasty-checkout-iways-paypalplus without Composer

On this page you can find all versions of the php package mediarox/module-compatibility-amasty-checkout-iways-paypalplus. 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 module-compatibility-amasty-checkout-iways-paypalplus

Compatibility module for

Corrected behaviors

Nr. Topic Problem Fix
1 Positioning of the order button As described in the documentation of Amasty, you can configure the position of the order button in the checkout. As also described there, third-party payment methods sometimes cause problems. This also applies to PayPal Plus payment methods. In case the position "below the order total" is selected, the order buttons of the PayPal Plus payment methods do not move as desired. Extend "Magento_Checkout/js/action/select-payment-method" to inject (mixin) additional move behaviour. Third-party payment methods from the "payment/iways_paypalplus_payment/third_party_moduls" setting of PayPal Plus are also taken into account.
2 isPlaceOrderActionAllowed check An order is normally triggered via the "placeOrder" method (Module_Checkout::js/view/payment/default.js). Among other things, this checks the property "isPlaceOrderActionAllowed" (ko.observable), which is set to "true" if a billing address is available. For registered customers with existing billing addresses, this check does not work correctly in interaction with Amasty Checkout & PayPal Plus, so the order button remains disabled in these cases. We extend the "initPayPalPlusFrame" method (Iways_PayPalPlus::js/view/payment/method-renderer/payment.js) respectively the callback method "enableContinue" contained therein by a check of the Amasty "isPlaceOrderActionAllowed" conditions (Amasty_Checkout::js/view/place-button.js:isPlaceOrderActionAllowed) and set the native property "isPlaceOrderActionAllowed" depending on this.
3 Onepage checkout support The implementation of the PayPal Plus Javascript application "PAYPAL.apps.PPP({})" was implemented rather statically by iways in terms of the standard checkout. Static in this context means that the associated Magento Javascript component reads all configurations (country, language, third-party payment methods) once, starts the application and then only reacts to the change of the country. (billingAddress.subscribe) As soon as you use a onepage checkout and want to implement extended conditions for payment methods, you reach your limits here. In our case, this was the payment method "cash on delivery", which was configured as a third-party payment method and must disappear for certain shipping methods. We extended the PayPal Plus Javascript component to listen for the Amasty event "onAfterShippingSave", which then loads and updates the third-party payment methods via a web api call.

https://github.com/i-ways/magento2-paypal-plus/blob/master/view/frontend/web/js/view/payment/method-renderer/payment.js

Installation

Notice

Further suggestions, corrections or features (pull requests or issues) are welcome.


All versions of module-compatibility-amasty-checkout-iways-paypalplus with dependencies

PHP Build Version
Package Version
Requires amasty/module-single-step-checkout Version ^3.1.3
iways/module-pay-pal-plus Version ^1.3.6
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 mediarox/module-compatibility-amasty-checkout-iways-paypalplus contains the following files

Loading the files please wait ....