我已经实施了Paypal自适应付款,将我的业务Mersica Inc.作为次要接收方,另一项业务(Fatpaint)作为主要接收方,但仍然,Paypal在取消URL和返回URL中显示我的公司名称(Mersica Inc)虽然我已经通过DisplayOptions将商家名称设置为“Fatpaint”。如何阻止我的公司名称出现?
答案 0 :(得分:0)
请试试这个:
前端代码:
<input type="hidden" name="business_name" value="<%= Global.BusinessName %>" />
服务器端代码:
//check the payment_status is Completed
//check that txn_id has not been previously processed
//check that receiver_email is your Primary PayPal email
// pull the values passed on the initial message from PayPal
NameValueCollection args = HttpUtility.ParseQueryString(strResponse_copy);
//string payment_stat = args["payment_status"];
if (strResponse == "VERIFIED")) {
string trans_id = args["txn_id"];
string invoice_id = args["business_name"];
string invoice_id = args["invoice"];
string trans_date = args["payment_date"];
string item_name = args["item_name"];
........
}
.................