我正在尝试按照此处的说明进行 Worldpay 灯箱集成
<script type="text/javascript">
var customOptions = {
iframeIntegrationId: 'libraryObject',
iframeHelperURL: 'https://example.com/helper.html',
iframeBaseURL: 'https://example.com',
url: 'https://payments.worldpay.com/ngpp/integration/wpg/corporate?OrderKey=YOUR_ORDER_KEY&Ticket=YOUR_TICKET_ID',
type: 'iframe',
target: 'custom-html',
accessibility: true,
debug: false,
language: 'en',
country: 'gb',
preferredPaymentMethod: 'VISA-SSL',
successURL: 'https://example.com/success',
cancelURL: 'https://example.com/cancel',
failureURL: 'https://example.com/failure',
pendingURL: 'https://example.com/pending',
errorURL: 'https://example.com/error'
};
//initialise the library and pass options
var libraryObject = new WPCL.Library();
libraryObject.setup(customOptions);
</script>
通过使用此脚本,网址显示 404 错误。任何帮助将不胜感激。