• 大小: 1.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 标签: 支付宝  java  支付  移动  

资源简介


资源截图

代码片段和文件信息

package com.alipay.config;

/* *
 *类名:AlipayConfig
 *功能:基础配置类
 *详细:设置帐户有关信息及返回路径
 *版本:3.4
 *修改日期:2016-03-08
 *说明:
 *以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
 */

public class AlipayConfig {

//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

// 合作身份者ID,签约账号,以2088开头由16位纯数字组成的字符串,查看地址:https://b.alipay.com/order/pidAndKey.htm
public static String partner = ““;

// 收款支付宝账号,以2088开头由16位纯数字组成的字符串,一般情况下收款账号就是签约账号
public static String seller_id = partner;

//商户的私钥需要PKCS8格式,RSA公私钥生成:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
public static String private_key = ““;

// 支付宝的公钥查看地址:https://b.alipay.com/order/pidAndKey.htm
public static String alipay_public_key  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-13 18:00  create_direct_pay_by_user-JAVA-UTF-8\
     文件         841  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\.classpath
     文件        1069  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\.project
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\.settings\
     文件          88  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\.settings\org.eclipse.core.resources.prefs
     文件         535  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\.settings\org.eclipse.wst.common.component
     文件         345  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件        7527  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\readme.txt
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\config\
     文件        3279  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\config\AlipayConfig.java
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\sign\
     文件        9888  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\sign\base64.java
     文件        4023  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\sign\RSA.java
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\
     文件        4008  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\AlipayCore.java
     文件        4832  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\AlipayNotify.java
     文件        5160  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\AlipaySubmit.java
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\httpClient\
     文件        8107  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\httpClient\HttpProtocolHandler.java
     文件        3514  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\httpClient\HttpRequest.java
     文件        1851  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\httpClient\HttpResponse.java
     文件         711  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\httpClient\HttpResultType.java
     文件        1990  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\src\com\alipay\util\UtilDate.java
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\WebRoot\
     文件        3394  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\WebRoot\alipayapi.jsp
     目录           0  2016-03-17 16:00  create_direct_pay_by_user-JAVA-UTF-8\WebRoot\img\
     文件        4315  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\WebRoot\img\alipay_logo.png
     文件        7701  2016-03-17 15:58  create_direct_pay_by_user-JAVA-UTF-8\WebRoot\img\guanzhu_qrcode.png
............此处省略16个文件信息

评论

共有 条评论