PHPackages                             icadpay/checkout - 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. [API Development](/categories/api)
4. /
5. icadpay/checkout

ActiveLibrary[API Development](/categories/api)

icadpay/checkout
================

Checkout API for third-party applications

01PHP

Since Jun 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/icadconcord/php_card_app)[ Packagist](https://packagist.org/packages/icadpay/checkout)[ RSS](/packages/icadpay-checkout/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Icadpay php card package
========================

[](#icadpay-php-card-package)

Instantiate Service class
-------------------------

[](#instantiate-service-class)

### $config = new IcadpayConfig();

[](#config--new-icadpayconfig)

### $config-&gt;merchantId = "test\_pub\_key";

[](#config-merchantid--test_pub_key)

### $config-&gt;merchantKey = "test\_priv\_key";

[](#config-merchantkey--test_priv_key)

### $config-&gt;publicModulus = " ";

[](#config-publicmodulus---)

### $config-&gt;publicExponent = " ";

[](#config-publicexponent---)

$initService = new CardService($config);
----------------------------------------

[](#initservice--new-cardserviceconfig)

Send payment request
--------------------

[](#send-payment-request)

### $cardItem = new CardDto();

[](#carditem--new-carddto)

### $cardItem-&gt;pan = "5060990580000217499";

[](#carditem-pan--5060990580000217499)

### $cardItem-&gt;expiryDate = "5003";

[](#carditem-expirydate--5003)

### $cardItem-&gt;cvv = "111";

[](#carditem-cvv--111)

### $cardItem-&gt;pin = "1111";

[](#carditem-pin--1111)

### $paymentItem = new PaymentDto();

[](#paymentitem--new-paymentdto)

### $paymentItem-&gt;amount = 100;

[](#paymentitem-amount--100)

### $paymentItem-&gt;currency = "NGN";

[](#paymentitem-currency--ngn)

### $paymentItem-&gt;customerId = "";

[](#paymentitem-customerid--jjjuscc)

### $paymentItem-&gt;transactionRef = "iiwiwwmw3994";

[](#paymentitem-transactionref--iiwiwwmw3994)

### $paymentItem-&gt;card = $cardItem;

[](#paymentitem-card--carditem)

$payReq = $initService-&gt;ProcessCard($paymentItem);
-----------------------------------------------------

[](#payreq--initservice-processcardpaymentitem)

### $payRes = json\_decode($payReq);

[](#payres--json_decodepayreq)

### //echo $payReq;

[](#echo-payreq)

Authorize transaction
---------------------

[](#authorize-transaction)

### $authTr = new AuthorizeTransDto();

[](#authtr--new-authorizetransdto)

### $authTr-&gt;amount = 100;

[](#authtr-amount--100)

### $authTr-&gt;paymentId = $payReq-&gt;paymentId;

[](#authtr-paymentid--payreq-paymentid)

### $authTr-&gt;otp = "123456";

[](#authtr-otp--123456)

$authReq $initService-&gt;AuthorizeTransaction($authTr);
--------------------------------------------------------

[](#authreq-initservice-authorizetransactionauthtr)

Resend OTP
----------

[](#resend-otp)

### $otpReq = new RequestOtpDto();

[](#otpreq--new-requestotpdto)

### $otpReq-&gt;amount = 100;

[](#otpreq-amount--100)

### $otpReq-&gt;currency = "NGN";

[](#otpreq-currency--ngn)

### $otpReq-&gt;paymentId = "232333";

[](#otpreq-paymentid--232333)

$resendOtp = $initService-&gt;ResendOtp();
------------------------------------------

[](#resendotp--initservice-resendotp)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.4% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca3ed5782e28bc07abcfe168b339cc0e5a880d26a72f086646a35e3602ee0a95?d=identicon)[icad\_pay](/maintainers/icad_pay)

---

Top Contributors

[![joenkem03](https://avatars.githubusercontent.com/u/30008963?v=4)](https://github.com/joenkem03 "joenkem03 (27 commits)")[![icadconcord](https://avatars.githubusercontent.com/u/107750409?v=4)](https://github.com/icadconcord "icadconcord (1 commits)")

### Embed Badge

![Health badge](/badges/icadpay-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/icadpay-checkout/health.svg)](https://phpackages.com/packages/icadpay-checkout)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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