问题
I am looking to integrate Knet payment gateway in PHP, but they have provided API for .NET, JSP and Python only.
Can anyone please help me and provide any idea how to integrate the KNET in PHP.
回答1:
Update
KNET now officially supports PHP natively. You can browse their official client at this github repo.
Disclaimer: The above repository is maintained by the Google Developer's Group Kuwait chapter and is not associated with KNET. However, the code uploaded is what KNET provides to their clients.
Warning: The KNET client only supports debit transactions, it does not support credit card transactions, which are supported by the commerce gateway.
KNET's uses ACI's commerce gateway for payment processing and their supported solution for PHP is to use the PHP-java bridge.
There are other options as well, but none are officially supported by KNET, however they all work:
- Python implementation (disclaimer: I wrote this)
- Ruby implementation
A Google search for e24paymentpipe php should get you going.
回答2:
You can use this php implementation on github that works with php 5.3.
See credits on the git readme for more information.
来源:https://stackoverflow.com/questions/8600230/knet-payment-gateway-for-php