-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Integration for Create QR Code, Update QR Code, Overseas Query, Spot Refund #94
Add Integration for Create QR Code, Update QR Code, Overseas Query, Spot Refund #94
Conversation
Thanks for contributing. This new methods didn't affect other method usage, so I'm happy to merge. A few more questions before merging:
|
Yeap, these codes are running in production environment Ok, will add some tests |
HI @chloerei , @kahshing96 has added some unit tests, maybe you can take a look at it to see if it's ok to merge? |
Looks good, I'll release a new version later. |
Sorry I didn't setup CI before, when I run test local, I found test fails:
I can simply modify the test case to make it pass, but want to confirm whether your local test also has this error? |
hmm weird, i am able to pass the test locally i think the issue should be the ➜ alipay git:(master) bundle exec rake
/Users/kschee/Workspace/fave/alipay/lib/alipay/utils.rb:26: warning: assigned but unused variable - exception
Run options: --seed 38168
# Running:
......................................................
Finished in 0.629430s, 85.7919 runs/s, 95.3243 assertions/s.
54 runs, 60 assertions, 0 failures, 0 errors, 0 skips |
@kahshing96 You are running test on master, can you test on branch FAVE-27624-rebase-original-repo ? I test fail after pull the branch local. |
@chloerei work for me ➜ alipay git:(chore/FAVE-27624-rebase-original-repo) ✗ bundle exec rake
/Users/kschee/Workspace/fave/alipay/lib/alipay/utils.rb:26: warning: assigned but unused variable - exception
Run options: --seed 57383
# Running:
......................................................
Finished in 0.275448s, 196.0443 runs/s, 217.8270 assertions/s.
54 runs, 60 assertions, 0 failures, 0 errors, 0 skips |
@kahshing96 I think it's the timezone. I think it should use |
@chloerei i think you're right, it was due to the timezone which cause the test failed, let me try create a new PR for this |
v0.17.0 is released! https://github.com/chloerei/alipay/releases/tag/v0.17.0 |
API Documentation
https://global.alipay.com/docs/ac/global/qrcode_create
https://global.alipay.com/docs/ac/global/qrcode_modify
https://global.alipay.com/docs/ac/global/overseas_query
https://global.alipay.com/docs/ac/global/spot_refund