Newer release changelog, see https://github.com/chloerei/alipay/releases
- Support certificate signature, thanks @moohao #92
- page_execute_form invalid-signature charset, thanks @lingceng #90
- Add
partner
andseller_id
options for legacy API, thanks @KQyongzhang #83
- Add
Alipay::Client
for open API. - Stop adding new feature to Alipay::Service, Alipay::App::Service, Alipay::Wap::Service, Alipay::Mobile::Service.
- Add
Alipay::App::Service.create_forex_trade_wap_url
method, thanks @xiaohesong #61
- Add
Alipay::App::Service.alipay_trade_app_pay
method, thanks @FX-HAO #64
- Add
Alipay::Service::batch_trans_notify_url
method, thanks @ryancheung #58
- Add
Alipay::Wap::Service.security_risk_detect
method, thanks @jasl #55
- Add
Alipay::Service.account_page_query
method, thanks @xjz19901211 #53
- Add
Alipay::Service.create_direct_pay_by_user_wap_url
method, thanks @serco-chen #52
- Add
Alipay::Mobile::Service.mobile_security_pay_string
method, thanks @Sen #49 - Remove
Alipay::Service.mobile_security_pay_url
#49
- Don't warning when
rmb_fee
is used in forex_refund_url method.
- Remove Alipay.seller_email setting, it can be replaced by seller_id, than same with pid.
- Alipay::Wap::Service.trade_create_direct_token add a required params: seller_account_name.
New API:
- Add Alipay::Service.mobile_security_pay_url.
- All service methods accept
options
args to config pid, seller_email and key.
New Config:
- Add
Alipay.sign_type
, default is 'MD5', allow: 'MD5', 'RSA'. 'DSA' is not implemented yet.
Break Changes:
- Move
Alipay::Service::Wap
toAlipay::Wap::Service
- Move
Alipay::Sign::Wap
toAlipay::Wap::Sign
- Move
Alipay::Notify::Wap
toAlipay::Wap::Notify
- Rename
Alipay::Service.create_forex_single_refund_url
toAlipay::Service.forex_refund_url
- Rename
Alipay::Service.create_forex_trade
toAlipay::Service.create_forex_trade_url
- Rename
Alipay::Service.create_refund_url
toAlipay::Service.refund_fastpay_by_platform_pwd_url
- Rename
Service::Wap.auth_and_execute
toService::Wap::Service.auth_and_execute_url
Now Alipay::Sign.verify?
and Alipay::Wap::Sign.verify?
detect sign_type by params.
Development:
- Update Test::Unit to Minitest.
- Use fxied test data.
-
Add
forex_single_refund
service. -
Add
debug_mode
config:set
Alipay.debug_mode = false
to disable options check warning in production env.
- Fix
single_trade_query
check options typo.
- Add
single_trade_query
service. #19
- Fix xml encoding #18
- Add
close_trade
service. by @linjunpop #16
- Add
create_forex_trade
service. by @christophe-dufour #15
-
Add Wap API by @HungYuHei
-
Add App API by @HungYuHei