| | |
| | | /** |
| | | * 商户密钥 |
| | | */ |
| | | private static final String key = "a2369875124965782f148539657823152"; |
| | | private static final String key = "ss369875124965782f148539657826321"; |
| | | /** |
| | | * 商户号 |
| | | */ |
| | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | // UniPayResult uniPayResult = PaymentUtil.uniPay("852963742", 0.01D, "测试商品", "这是用于对接支付测试的商品描述", |
| | | // "", "/order/shopping-cart/shoppingCartPaymentCallback", "ooOrs64zHLuInkZ_GF0LpIN9_Rxc", "777168500885852"); |
| | | // PaymentUtil.queryOrder("852963742"); |
| | | // PaymentUtil.closeOrder("852963742"); |
| | | UniPayResult uniPayResult = PaymentUtil.uniPay("852963742", 0.01D, "测试商品", "这是用于对接支付测试的商品描述", |
| | | "", "/order/shopping-cart/shoppingCartPaymentCallback", "ooOrs64zHLuInkZ_GF0LpIN9_Rxc", "777168500885852"); |
| | | PaymentUtil.queryOrder("852963742"); |
| | | PaymentUtil.closeOrder("852963742"); |
| | | |
| | | } |
| | | } |