PHPackages                             clickpay/magento\_v4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. clickpay/magento\_v4

ActiveMagento2-module[Payment Processing](/categories/payments)

clickpay/magento\_v4
====================

3rd party payment gateway

3.9.2(2y ago)2242[1 issues](https://github.com/clickpaysa/clickpay-magento2.x/issues)MITPHPPHP ^7.1|^8.1

Since Dec 19Pushed 1y agoCompare

[ Source](https://github.com/clickpaysa/clickpay-magento2.x)[ Packagist](https://packagist.org/packages/clickpay/magento_v4)[ Docs](https://clickpay.com.sa)[ RSS](/packages/clickpay-magento-v4/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (0)

ClickPay - Magento
==================

[](#clickpay---magento)

*The Official Magento2 plugin for ClickPay*

Plugin features
---------------

[](#plugin-features)

#### Embeded Form

[](#embeded-form)

#### Direct Apple Pay

[](#direct-apple-pay)

#### Real Refund from Magento (credit Memo)

[](#real-refund-from-magento-credit-memo)

#### Automatic Invoice

[](#automatic-invoice)

#### On Payment Method selection place order

[](#on-payment-method-selection-place-order)

---

Installation
------------

[](#installation)

### Install using FTP method

[](#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`

[](#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
---------------------

[](#activating-the-plugin)

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

### Enable

[](#enable)

`php bin/magento module:enable ClickPay_PayPage`

### Disable

[](#disable)

`php bin/magento module:disable ClickPay_PayPage`

---

Configure the Plugin for normal redirect and iframe
---------------------------------------------------

[](#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
-------------------------------------

[](#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
---------------------------------------------------------

[](#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](https://private-user-images.githubusercontent.com/135695828/308468288-75893cf4-5159-47c6-a5bf-7b7e3a200c62.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3Lmd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MkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwOVQxMjAwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lM2NjMGIwYTBhMTZiOTViY2M0ZjcyNmY0ZDA0MzBjYzM2MmY3YzQ4Nzg0MWMwM2ViNDYyYjNkZTI5M2VmODExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.MZJHJtoM9uZwV-Mr1cUUhgQzzHYegCPS6zEPilZ83FQ)
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
-----

[](#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](https://private-user-images.githubusercontent.com/135695828/258054900-2b6c16ba-58b3-44ed-a690-dfeb7762b9cb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU3MzYzMDQsIm5iZiI6MTc3NTczNjAwNCwicGF0aCI6Ii8xMzU2OTU4MjgvMjU4MDU0OTAwLTJiNmMxNmJhLTU4YjMtNDRlZC1hNjkwLWRmZWI3NzYyYjljYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwOVQxMjAwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYzkxOTYzMzI1ZjY3Njc3ZDhmMWZjZjhhYTM1OGNiYjk3OWZkMGMwMWFjNmIzMGQxYjA2NTcxMjcwNDQyNWExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.j35fOTJMDzq3O4TzRMC3D3hPEaKXEFkR10JhZucMqWs)](https://private-user-images.githubusercontent.com/135695828/258054900-2b6c16ba-58b3-44ed-a690-dfeb7762b9cb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU3MzYzMDQsIm5iZiI6MTc3NTczNjAwNCwicGF0aCI6Ii8xMzU2OTU4MjgvMjU4MDU0OTAwLTJiNmMxNmJhLTU4YjMtNDRlZC1hNjkwLWRmZWI3NzYyYjljYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwOVQxMjAwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYzkxOTYzMzI1ZjY3Njc3ZDhmMWZjZjhhYTM1OGNiYjk3OWZkMGMwMWFjNmIzMGQxYjA2NTcxMjcwNDQyNWExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.j35fOTJMDzq3O4TzRMC3D3hPEaKXEFkR10JhZucMqWs)

3. Create two certificates (Apple Pay Payment Processing Certificate &amp; Apple Pay Merchant Identity Certificate)
4. 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-

    ```
5. 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
----------

[](#log-access)

### ClickPay custome log

[](#clickpay-custome-log)

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

---

Done

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

739d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a857178b7c777ed58241c935f57f809edb68c47e646b680a8b061a863d8e2a91?d=identicon)[clickpay](/maintainers/clickpay)

---

Top Contributors

[![Riyaztechsupport](https://avatars.githubusercontent.com/u/135695828?v=4)](https://github.com/Riyaztechsupport "Riyaztechsupport (22 commits)")[![Pawankumar007](https://avatars.githubusercontent.com/u/32170894?v=4)](https://github.com/Pawankumar007 "Pawankumar007 (12 commits)")[![asabra-clickpay](https://avatars.githubusercontent.com/u/103630680?v=4)](https://github.com/asabra-clickpay "asabra-clickpay (10 commits)")[![asabra-paytabs](https://avatars.githubusercontent.com/u/82454211?v=4)](https://github.com/asabra-paytabs "asabra-paytabs (2 commits)")

### Embed Badge

![Health badge](/badges/clickpay-magento-v4/health.svg)

```
[![Health](https://phpackages.com/badges/clickpay-magento-v4/health.svg)](https://phpackages.com/packages/clickpay-magento-v4)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

109501.7k1](/packages/amzn-amazon-pay-magento-2-module)[gene/module-braintree

Fork from the Magento Braintree 2.2.0 module by Gene Commerce for PayPal.

35322.3k1](/packages/gene-module-braintree)[paynl/magento2-plugin

Pay. Payment methods for Magento 2

30311.2k5](/packages/paynl-magento2-plugin)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
