Download the PHP package clickpay/magento_v4 without Composer

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

ClickPay - Magento

The Official Magento2 plugin for ClickPay

Plugin features

Embeded Form

Direct Apple Pay

Real Refund from Magento (credit Memo)

Automatic Invoice

On Payment Method selection place order


Installation

Install using FTP method

Note: Delete any previous ClickPay plugin.

  1. Download the latest release of the plugin
  2. Upload the content of the folder to magento2 installation directory: app/code/ClickPay/PayPage
  3. Run the following Magento commands:
    1. php bin/magento setup:upgrade
    2. php bin/magento setup:static-content:deploy
    3. php bin/magento cache:clean

Install using Composer

  1. composer require clickpay/magento_v4
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:static-content:deploy
  4. php bin/magento cache:clean

Activating the Plugin

By default and after installing the module, it will be activated. To Disable/Enable the module:

Enable

php bin/magento module:enable ClickPay_PayPage

Disable

php bin/magento module:disable ClickPay_PayPage


Configure the Plugin for normal redirect and iframe

  1. Navigate to "Magento admin panel" >> Stores >> Configuration
  2. Open "Sales >> Payment Methods
  3. Select the preferred payment method from the available list of ClickPay payment methods
  4. Enable the Payment Gateway
  5. Enable hosted or iframe method
  6. Enable automatic invoice
  7. Enter the primary credentials:
    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  8. Click Save Config

Configure the Plugin for Managed form

  1. Navigate to "Magento admin panel" >> Stores >> Configuration
  2. Open "Sales >> Payment Methods
  3. Enable the Payment Gateway
  4. Enable Managed form in the frame option
  5. Enable automatic invoice
  6. Enter the primary credentials:
    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  7. Click Save Config
  8. Contact Clickpay Technical team for whitlisting you server for having this feature.

Configure the Plugin for Direct Apple Pay on your website

  1. Navigate to "Magento admin panel" >> Stores >> Configuration
  2. Open "Sales >> Payment Methods
  3. Select the Apple Pay method from the available list of ClickPay payment methods
  4. Please find the setup section below for the apple pay certificate creation
  5. Once certificates created upload the certificates in admin panel
  6. Add the Merchnat identifier name

    Screenshot 2024-02-28 at 11 02 44 AM
  7. Enter the primary credentials:
    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  8. Click Save Config

Setup

  1. You must have a Apple Developer Account To use this Feature
  2. The Domain URL which you want to display the ApplePay Button. It should be verfied under same Apple Developer Account and under same merchant ID which you will create Certificates

image

  1. Create two certificates (Apple Pay Payment Processing Certificate & Apple Pay Merchant Identity Certificate)
  2. Create Apple Pay Payment Processing Certificate using below Link

    https://support.clickpay.com.sa/en/support/solutions/articles/73000593115-how-to-configure-apple-pay-certificate-in-my-clickpay-dashboard-

  3. Create Apple Pay Merchant Identity Certificate using below Steps

    openssl req -sha256 -nodes -newkey rsa:2048 -keyout merchant-cert.key -out merchant-cert.csr (Create the CSR and Key File)

    Upload the CSR in Apple Developer portal to create merchant identifier Once Created Download the Certificate and Convert the downloaded cer to crt using below command

    openssl x509 -inform der -in merchant_id.cer -out merchant-cert.crt

Log Access

ClickPay custome log

  1. Access debug_Clickpay.log file found at: /var/log/debug_Clickpay.log

Done


All versions of magento_v4 with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.1
magento/module-sales Version 101.0.*||102.0.*||103.0.*
magento/module-checkout Version 100.2.*||100.3.*||100.4.*
magento/module-payment Version 100.2.*||100.3.*||100.4.*
magento/module-vault Version 101.0.*||101.1.*||101.2.*
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 clickpay/magento_v4 contains the following files

Loading the files please wait ....