介绍 该软件包旨在帮助php开发人员轻松实现各种Mpesa API。 它基于REST API,其文档可在。 使用composer安装composer require safaricom/mpesa 组态在项目根目录下,创建一个.env文件,并在其中设置使用者密钥和使用者密钥,如下所示MPESA_CONSUMER_KEY= [consumer key] MPESA_CONSUMER_SECRET=[consumer secret] MPESA_ENV=[live or sandbox] 对于Laravel用户,请打开Config / App.php文件,并在提供程序下添加\Safaricom
1
Java:-1.8 创建Paytm商业帐户,并在application.yml中添加商家ID和商家密钥。添加lib / checksum_2.0.0.jar以构建路径运行Spring引导应用程序 参考: :
2021-05-02 22:03:13 556KB spring java-8 springboot payment-integration
1