All Projects → ThierrySquirrel → Alipay

ThierrySquirrel / Alipay

Licence: apache-2.0
alipay

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Alipay

Egg Commerce
Stars: ✭ 264 (-37.29%)
Mutual labels:  alipay
Alipay Php Sdk
支付宝即时到账 SDK 简化版(含移动网页支付)
Stars: ✭ 308 (-26.84%)
Mutual labels:  alipay
Alipayorderssupervisor
✨ 使用Node监视支付宝订单,即时通知服务器以实现免签约支付接口
Stars: ✭ 384 (-8.79%)
Mutual labels:  alipay
Stepchanger
步数修改器
Stars: ✭ 275 (-34.68%)
Mutual labels:  alipay
Swiftscan
A barcode and qr code scanner( 二维码/条形码扫描、生成,仿微信、支付宝)
Stars: ✭ 293 (-30.4%)
Mutual labels:  alipay
Gopay
golang支付:微信公众号,微信app,微信小程序,微信企业支付,支付宝网页版,支付宝app,支付宝企业支付
Stars: ✭ 313 (-25.65%)
Mutual labels:  alipay
profit
🤔 biezhi 在线打赏系统,开启你的要饭生涯。
Stars: ✭ 378 (-10.21%)
Mutual labels:  alipay
Okam
Mini program development framework
Stars: ✭ 399 (-5.23%)
Mutual labels:  alipay
Pay Php Sdk
PHP支付SDK(微信支付 + 支付宝支付)
Stars: ✭ 306 (-27.32%)
Mutual labels:  alipay
Profit
🤔 biezhi 在线打赏系统,开启你的要饭生涯。
Stars: ✭ 372 (-11.64%)
Mutual labels:  alipay
Ijpay
IJPay 让支付触手可及,封装了微信支付、QQ支付、支付宝支付、京东支付、银联支付、PayPal 支付等常用的支付方式以及各种常用的接口。不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。右上角点下小星星✨
Stars: ✭ 3,561 (+745.84%)
Mutual labels:  alipay
Alipayzerosdk
Lightest Alipay Transfer Helper - 最轻量的支付宝转账工具类(Android)
Stars: ✭ 286 (-32.07%)
Mutual labels:  alipay
Php Practice
🌹 一天一点点,积少成多...
Stars: ✭ 351 (-16.63%)
Mutual labels:  alipay
Alipay
轻量的支付宝组件(A Lightweight Alipay Component)
Stars: ✭ 266 (-36.82%)
Mutual labels:  alipay
Easypay
[DEPRECATED]A simple frame for mobile pay in China, easy to use & expand . 简单易用的第三方可扩展支付框架。
Stars: ✭ 388 (-7.84%)
Mutual labels:  alipay
java-pay
微信支付宝App、小程序、扫码支付、退款、提现案例
Stars: ✭ 40 (-90.5%)
Mutual labels:  alipay
Oss.clients.pay
开源支付SDK(标准库),主要打造微信支付,支付宝支付,标准库项目,同时支持.net framework和.net core
Stars: ✭ 314 (-25.42%)
Mutual labels:  alipay
Pay
可能是我用过的最优雅的 Alipay 和 WeChat 的支付 SDK 扩展包了
Stars: ✭ 4,176 (+891.92%)
Mutual labels:  alipay
Jpay
🔥对微信App支付、支付宝App支付、银联APP支付的二次封装,对外提供一个相对简单的接口以及支付结果的回调
Stars: ✭ 394 (-6.41%)
Mutual labels:  alipay
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-12.83%)
Mutual labels:  alipay

alipay

AliPay Open Platform

AliPay Java SDK

中文

Support Function:

  • [x] App Payment
  • [x] Mobile Website Payment
  • [x] Payment By Computer Website
  • [x] Transaction Query
  • [x] Transaction Closed
  • [x] Transaction Refund
  • [x] Transaction Refund Query
  • [x] Query Bill Download Address
  • [x] Transaction Verification

App Payment:

  • App payment product introduction
    APP Payment Is Suitable For Businesses To Integrate AliPay Payment Function In App Applications.
    Merchant APP Calls AliPay's SDK, SDK, And Then Calls The Payment Module in AliPay APP.
    If The User Has Installed AliPay APP,
    The Merchant APP Will Jump To AliPay To Complete The Payment,
    After Payment, Jump Back To The Merchant App, And Finally Display The Payment Result.
    If The User Does Not Install AliPay APP,
    The Merchant APP Will Adjust The AliPay Web Payment Cashier,
    Users Log On To AliPay Account And Show The Payment Results After Payment.
    Currently supported mobile systems are IOS (Apple) and Android (Android).

Mobile Website Payment:

  • Mobile Website Payment Product Introduction
    It Is Suitable For Businesses To Integrate AliPay Payment Function In Mobile Web Page Application.
    In The Web Application,
    Merchants Call The Web Page Payment Interface Provided By AliPay, And The Interface Will Adjust The Payment Module In AliPay Client,
    At This Point, It Will Jump From The Merchant Web Application To The AliPay Client And Start Payment: After Payment Is Completed,
    It Will Jump Back To The Application Of The Merchant Web Page,
    Finally, The Merchant Shows The Payment Result.

Payment By Computer Website:

  • Introduction To Payment Products Of Computer Website
    Through The Payment Function Of The Computer Website,
    Users Will Automatically Jump To The AliPay PC Website Cashier To Complete Payment After Consuming The PC Website.
    Trading Funds Directly Into The Merchant AliPay Account, Real-Time Arrival.
    The User's Transaction Payment Is Received Immediately,
    And The Transaction Order Can Be Refunded Within Three Months,
    Provide Refund, Settlement, Reconciliation And Other Supporting Services.

Transaction Query:

  • Unified Single Line Transaction Inquiry
    The Interface Provides All AliPay Payment Orders Inquiries, Merchants Can Actively Query The Order Status Through This Interface,
    And Complete The Next Business Logic.
    Need To Call Query Interface: When The Merchant Background, Network,
    Server And So On Are Abnormal,
    The Merchant System Does Not Receive The Payment Notice Finally:
    System Error Or Unknown Transaction Status Returned After Calling The Payment Interface:
    Call alipay.trade.pay To Return The Status Of INPROCESS:
    Before Calling alipay.trade.cancel, You Need To Confirm The Payment Status:

Transaction Closed:

Transaction Refund:

  • Unified Receipt Transaction Refund Interface
    When A Refund Is Required Due To The Buyer Or The Seller For A Period Of Time After The Transaction,
    The Seller Can Return The Payment To The Buyer Through The Refund Interface,
    AliPay Will Receive A Refund Request And Verify The Success,
    Refund The Payment To The Buyer's Account According To The Refund Rules.
    No Refund Can Be Made For The Order Whose Transaction Exceeds The Agreed Time (The Refundable Time Set At The Time Of Signing)
    AliPay Refund Support For Single Transaction With Multiple Refunds,
    For Multiple Refunds, You Need To Submit The Merchant Order Number Of The Original Payment Order And Set A Different Refund Number.
    If A Refund Fails To Be Submitted Again,
    The original Refund Number Shall Be Used.
    The Total Refund Amount Cannot Exceed The User's Actual Payment Amount

Transaction Refund Query:

  • Unified Receipt Transaction Refund Query
    The Merchant Can Use This Interface To Query Whether The Refund Request Submitted By Itself Through alipay.trade.refund
    or alipay.trade.refund.apply Is Executed Successfully.
    The Return Code 10000 Of This Interface Only Represents The Success Of This Query Operation, Not The Success Of Refund.
    If The Interface Returns Query Data,
    If The refund_status Is Empty Or REFUND_SUCCESS, The Refund Is successful,
    If It Is Not Found, It Means That The Refund Is Successful.
    You Can Call The Refund Interface To Try Again.
    Please Make Sure That The Refund Request Number Is The Same When You Try Again.

Query Bill Download Address:

  • Query The Download Address Of Statement
    In Order To Facilitate The Merchant's Quick Account Checking,
    The Merchant Is Supported To Obtain The Offline Bill Download Address Of The Merchant Through This Interface

Transaction Verification:

Quick Start

<!--Adding dependencies to pom. XML-->
        <dependency>
            <groupId>com.github.thierrysquirrel</groupId>
            <artifactId>alipay</artifactId>
            <version>1.2.3-RELEASE</version>
        </dependency>

App Payment:

public class AppPay {
  	public String appPay() throws AlipayApiException {
  		return PayRootChainFactory
  				.createdPayChain("appId", "privateKey", "publicKey")
  				.appPay("subject", "outTradeNo", "totalAmount")
  				.builder()
  				.pay("notifyUrl");
  	}
  }

Mobile Website Payment:

public class WapPay {
	public String wapPay() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.wapPay("subject","outTradeNo","totalAmount")
				.builder()
				.pay("returnUrl","notifyUrl");
	}
}

Payment By Computer Website:

public class PagePay {
	public String pagePay() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.pagePay("subject","outTradeNo","totalAmount")
				.builder()
				.pay("returnUrl","notifyUrl");
	}
}

Transaction Query:

public class PayQuery {
	public String payQuery() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.queryPay("outTradeNo","tradeNo")
				.builder()
				.query();
	}
}

Transaction Closed:

public class PayClose {
	public String payClose() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.closePay("outTradeNo","tradeNo")
				.builder()
				.close();
	}
}

Transaction Refund:

public class PayRefund {
	public String payRefund() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.refundPay("outTradeNo","tradeNo","refundAmount")
				.builder()
				.refund();
	}
}

Transaction Refund Query:

public class PayRefundQuery {
	public String payRefundQuery() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.refundQueryPay("outTradeNo","tradeNo","outRequestNo")
				.builder()
				.refundQuery();
	}
}

Query Bill Download Address:

public class PayDownloadQuery {
	public String payDownloadQuery() throws AlipayApiException {
		return PayRootChainFactory
				.createdPayChain("appId","privateKey","publicKey")
				.downloadQueryPay("billType","billDate")
				.builder()
				.downloadQuery();
	}
}

Transaction Verification:

public class PayCheck {
	public boolean payCheck(HttpServletRequest request){
		Map<String, String[]> parameterMap=request.getParameterMap();
		Map<String, String> reload = PayCheckFactory.reload(parameterMap);
		return PayCheckFactory.check(reload);
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].