mifa支付地址更改

This commit is contained in:
tianfeng 2026-05-20 12:00:35 +08:00
parent 8182a99e94
commit f0719b2d54
3 changed files with 6 additions and 2 deletions

View File

@ -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()))

View File

@ -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;

View File

@ -31,6 +31,11 @@ public class MiFaPayProperties {
*/
private String gatewayBaseUrl;
/**
* 回调地址
*/
private String notifyUrl;
/**
* 商户私钥用于签名
*/