Registry / http-client / conekta-conekta-php

conekta-conekta-php

JSON →
library7.1.0phppackagistunverified

Conekta PHP Library for payment processing.

composer require conekta/conekta-php
INSTALL
IMPORT
SIG · CONEKTA-CONEKTA-PH
C
conekta-conekta-php
http-clientphpv7.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Conekta
use Conekta\Conekta;

Creates a new order using Conekta API.

<?php require 'vendor/autoload.php'; use Conekta\Conekta; Conekta::setApiKey('your_api_key'); $order = Conekta\Order::create([ 'line_items' => [['name' => 'Test', 'unit_price' => 1000, 'quantity' => 1]], 'currency' => 'MXN', 'customer_info' => ['name' => 'John Doe', 'email' => 'john@example.com'] ]); echo $order->id;
Debug
Known issues
gotchaAPI key must be set before any API calls.
fix
Always call Conekta::setApiKey() with a valid private key.
affects: >=7.0.0
Upgrade
Version history
7.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
conekta-conekta-php — pip install conekta-conekta-php · libregistry