openpesa / php-pesa Goto Github PK
View Code? Open in Web Editor NEWOpen payment integration toolkit for PHP
Home Page: https://openpesa.github.io/php-pesa/
License: MIT License
Open payment integration toolkit for PHP
Home Page: https://openpesa.github.io/php-pesa/
License: MIT License
Found a typo on readme, can I submit a pr with a fix?
Generating documentation from sources with https://www.phpdoc.org/
#0 /home/u689581850/domains/gtnsite.co.tz/gtn/app/Http/Controllers/PortalSDK/Forodha.php(166): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/home/u68958185...', 166, Array)
#1 /home/u689581850/domains/gtnsite.co.tz/gtn/app/Http/Controllers/PortalSDK/b2cController.php(331): App\Http\Controllers\PortalSDK\Forodha->transact('c2b', Array)
#2 [internal function]: App\Http\Controllers\PortalSDK\b2cController->forodhaTest()
#3 /home/u689581850/domains/gtnsite.co.tz/gtn/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
I have instantiated the pesa class with valid production credentials and switch it to production but a problem occurs, it fails to generate the session key if I return the sandbox credentials and switch back to sandbox it works fine
content-type: application/json
access-control-allow-origin: *
content-length: 37
Vary: Accept-Encoding
{
"output_error": "Origin not allowed"
}
{
"status_code": 403,
"headers": "HTTP/1.1 403 Forbidden\r\ndate: Fri, 06 Nov 2020 13:39:46 GMT\r\nx-frame-options: SAMEORIGIN\r\nx-robots-tag: none\r\nx-content-type-options: nosniff\r\nx-xss-protection: 1; mode=block\r\nstrict-transport-security: max-age=16005600; includeSubDomains\r\ncontent-type: application/json\r\naccess-control-allow-origin: *\r\ncontent-length: 37\r\nVary: Accept-Encoding\r\n\r\n",
"body": "{"output_error":"Origin not allowed"}"
}
I have searched on internet nor on their official website i can find the official documentation so as we can write and write samples to share to the community
"guzzlehttp/guzzle": "^7.0"
, gives a package conflict error during composer install
, while "^6.3"
works so far. should i expect any problems due to this downgrade?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.