bitmash / alipay-api-php Goto Github PK
View Code? Open in Web Editor NEWA concise library in PHP for the Alipay API merchant account.
License: GNU General Public License v2.0
A concise library in PHP for the Alipay API merchant account.
License: GNU General Public License v2.0
In your code allow user config currency when payment but It's not worked. If you put value is 100, It's 100 CNY (not $100 USD) although you set currency is USD.
If you want this config is work you should change "rmb_fee" to "total_fee" in $data array in function createPayment.
I checked and It's worked.
Thank you very much about this code. It very useful with me.
Hi,
I'm interested in using AliPay in a website but I am unsure about the exact implementation. Would it be possible to contact you via email about some questions?
Thanks,
Daniel
hi, thanks for sharing this lib!
can i use this lib if i just only want to verify the payment from alipay? which function should i used and which data must be passed for the input?
thanks!
I tried the transaction.php test code.
I clicked the "Test Transaction Link", alipay return an error
创建交易错误
输入参数错误!
In English,
Transaction creation error
Wrong input parameters!
Hi bitmash,
I use your class and work perfect thanks for this one!
but next problem is the auto debit- could you help me on this one?
https://global.alipay.com/service/debit/6
I can't find any tutorial or sample code.
and the documentation about the auto-debit is not clear on sample code
The same code I have used in form (with hidden fields) and after redirecting to alipay's site it shows illegal_sign error, why? is alipay not accepting for data? here is my code
Hi, i am using alipay-api-php. i didnot register yet for merchant account so i am using test account for testing purpose but i can not log in using username and password which you provided.
Can you please guide me?
Thanks.
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.