clickpay / magento_v4
3rd party payment gateway
Installs: 239
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 1
Type:magento2-module
Requires
- php: ^7.1|^8.1
- magento/module-checkout: 100.2.*||100.3.*||100.4.*
- magento/module-payment: 100.2.*||100.3.*||100.4.*
- magento/module-sales: 101.0.*||102.0.*||103.0.*
- magento/module-vault: 101.0.*||101.1.*||101.2.*
This package is not auto-updated.
Last update: 2024-11-21 11:09:23 UTC
README
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.
- Download the latest release of the plugin
- Upload the content of the folder to magento2 installation directory:
app/code/ClickPay/PayPage
- Run the following Magento commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
Install using Composer
composer require clickpay/magento_v4
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
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
- Navigate to
"Magento admin panel" >> Stores >> Configuration
- Open
"Sales >> Payment Methods
- Select the preferred payment method from the available list of ClickPay payment methods
- Enable the
Payment Gateway
- Enable hosted or iframe method
- Enable automatic invoice
- 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
- Click
Save Config
Configure the Plugin for Managed form
- Navigate to
"Magento admin panel" >> Stores >> Configuration
- Open
"Sales >> Payment Methods
- Enable the
Payment Gateway
- Enable Managed form in the frame option
- Enable automatic invoice
- 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
- Click
Save Config
- Contact Clickpay Technical team for whitlisting you server for having this feature.
Configure the Plugin for Direct Apple Pay on your website
-
Navigate to
"Magento admin panel" >> Stores >> Configuration
-
Open
"Sales >> Payment Methods
-
Select the Apple Pay method from the available list of ClickPay payment methods
-
Please find the setup section below for the apple pay certificate creation
-
Once certificates created upload the certificates in admin panel
-
Add the Merchnat identifier name
-
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
-
Click
Save Config
Setup
- You must have a Apple Developer Account To use this Feature
- 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
-
Create two certificates (Apple Pay Payment Processing Certificate & Apple Pay Merchant Identity Certificate)
-
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-
-
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
- Access
debug_Clickpay.log
file found at:/var/log/debug_Clickpay.log
Done