mifa支付地址更改
This commit is contained in:
parent
8182a99e94
commit
f0719b2d54
@ -104,7 +104,6 @@ public class MiFaPayWebPayPlaceAnOrderStrategy implements PayWebPlaceAnOrderStra
|
||||
.payType(details.getFactoryChannel())
|
||||
.userIp(details.getRequestIp())
|
||||
.returnUrl(details.getSuccessRedirectUrl())
|
||||
.notifyUrl(MiFaPayService.NOTIFY_URL)
|
||||
.language("en")
|
||||
.email(memberInfo.getEmail())
|
||||
.countryCode(replaceCountryCode(details.getCountryCode()))
|
||||
|
||||
@ -25,7 +25,6 @@ public class MiFaPayService {
|
||||
/**
|
||||
* 下单接口路径
|
||||
*/
|
||||
public static final String NOTIFY_URL = "https://api.likeichat.com/order/play-server-notice/mifa_pay/receive_payment";
|
||||
private static final String PLACE_ORDER_PATH = "/paygateway/mbpay/order/en_v2";
|
||||
|
||||
private final String active;
|
||||
@ -47,6 +46,7 @@ public class MiFaPayService {
|
||||
public MiFaPayResponseCO placeAnOrder(MiFaPayPlaceAnOrderParam param) {
|
||||
// 设置商户编号
|
||||
param.setMerNo(miFaPayProperties.getMerNo());
|
||||
param.setNotifyUrl(miFaPayProperties.getNotifyUrl());
|
||||
|
||||
String url = miFaPayProperties.getGatewayBaseUrl() + PLACE_ORDER_PATH;
|
||||
|
||||
|
||||
@ -31,6 +31,11 @@ public class MiFaPayProperties {
|
||||
*/
|
||||
private String gatewayBaseUrl;
|
||||
|
||||
/**
|
||||
* 回调地址
|
||||
*/
|
||||
private String notifyUrl;
|
||||
|
||||
/**
|
||||
* 商户私钥(用于签名)
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user