操作のAlipayのサンドボックスの操作部(モバイル版)

ジャンプ接続アリペイサンドボックス文書:クリック

ここではちょうど、私が見つけることができます完了するために必要なキーコードの一部を示すために、
ネットワーキングを実行するには、プロジェクトの必要性の条件の下で:

package com.alipay.config;

public class AlipayConfig {
	// 商户appid
	public static String APPID = "2016101800723636";
	// 应用私钥 pkcs8格式的
	public static String RSA_PRIVATE_KEY = "";
	// 服务器异步通知页面路径 需http://或者https://格式的完整路径,不能加?id=123这类自定义参数,必须外网可以正常访问
	public static String notify_url = "http://商家端口号/alipay.trade.wap.pay-JAVA-UTF-8/notify_url.jsp";
	// 页面跳转同步通知页面路径 需http://或者https://格式的完整路径,不能加?id=123这类自定义参数,必须外网可以正常访问 商户可以自定义同步跳转地址
	public static String return_url = "http://商家端口号/alipay.trade.wap.pay-JAVA-UTF-8/return_url.jsp";
	// 请求网关地址
	public static String URL = "https://openapi.alipaydev.com/gateway.do";
	// 编码
	public static String CHARSET = "UTF-8";
	// 返回格式
	public static String FORMAT = "json";
	// 支付宝公钥
	public static String ALIPAY_PUBLIC_KEY = "";
	// 日志记录目录
	public static String log_path = "/log";
	// RSA2
	public static String SIGNTYPE = "RSA2";


}

公開された108元の記事 ウォン称賛46 ビュー30000 +

おすすめ

転載: blog.csdn.net/qq_44739706/article/details/104440215