gpt4 book ai didi

xml - Worldpay 直接 XML

转载 作者:数据小太阳 更新时间:2023-10-29 02:06:46 28 4
gpt4 key购买 nike

当我将 XML 提交到 https://secure-test.WorldPay.com/jsp/merchant/xml/paymentService.jsp 时:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <!DOCTYPE paymentService PUBLIC "-//WorldPay/DTD WorldPay PaymentService v1//EN" "http://dtd.worldpay.com/paymentService_v1.dtd"><paymentService version="1.4" merchantCode="WPACC48193806"> <submit> <order orderCode="AU-1746976-13714703"> <description>Personalised Working Holiday Guide to Australia/Working Holiday, Account No. AU-13714703</description> <amount value="3000" currencyCode="GBP" exponent="2"/> <paymentDetails> <VISA-SSL> <cardNumber>4917610000000000</cardNumber> <expiryDate> <date month="5" year="2022"/> </expiryDate> <cardHolderName>Nguyen Quang</cardHolderName> <cvc>234</cvc> <cardAddress> <address> <street>abc,abc,abnc</street> <postalCode>1000</postalCode> <city>323.84</city> <countryCode>GB</countryCode> <telephoneNumber>+44</telephoneNumber> </address> </cardAddress> </VISA-SSL> <session shopperIPAddress="164.194.163.93" id="186002" /> </paymentDetails> <shopper> <shopperEmailAddress>quang021@ekabiz.vn</shopperEmailAddress> <browser> <acceptHeader>text/html</acceptHeader> <userAgentHeader>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; .NET4.0C; .NET4.0E)</userAgentHeader> </browser> </shopper> </order> </submit> </paymentService>

当我运行它时,输出是这样的:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN"
"http://dtd.worldpay.com/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="WPACC48193806"><reply><orderStatus orderCode="AU-1746976-13714703"><error code="7"><![CDATA[Payment Method VISA_CREDIT-SSL is unknown; The Payment Method is not available.]]></error></orderStatus></reply></paymentService>

文档说要将请求的 IP 地址添加到您的 Worldpay 帐户,我认为我做对了。

最佳答案

我投票赞成的老问题是因为我遇到了同样的问题,对我们来说问题是针对 WorldPay 帐户存在最大交易值(value)。如果你的交易值(value)超过这个,它也会返回上面的错误。默认值为 2,500 英镑,但可以通过联系 WorldPay 提高。

关于xml - Worldpay 直接 XML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12296823/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com