I apologize if this has been asked before. I searched and didn't find anything that matched my situation. Also bear in mind I am fairly new to asp/asp.net development.
如果以前曾经问过我,我道歉。我搜索过,没有发现任何符合我情况的东西。另外请记住,我是asp / asp.net开发的新手。
My current project is a relatively simple e-commerce site. The customer will connect to the site, select products, input shipping and billing information, payment information (credit card) and submit the order.
我目前的项目是一个相对简单的电子商务网站。客户将连接到站点,选择产品,输入运输和账单信息,支付信息(信用卡)并提交订单。
The project is being split into two parts: The store front which includes displaying the items and taking the customer's shipping and billing information and the payment site which will collect the customers credit card, compute tax, and save the order into the company's system. The reason that the site was split up, was that our side (payment side) already has facilities for credit card handling and tax computation. There may also be some regulatory issues that the store front side does not want to deal with (which we already do).
该项目分为两部分:商店前台,包括显示物品和获取客户的运输和账单信息,以及支付站点,它将收集客户的信用卡,计算税收,并将订单保存到公司的系统中。该网站被拆分的原因是我们这边(付款方)已经拥有信用卡处理和税收计算设施。商店前端可能还有一些监管问题不想处理(我们已经做过)。
I'm working on the payment portion of the app and I am using asp.net. The store front side is being written in classic asp (not my decision). Each part will be hosted on different servers.
我正在处理应用程序的付款部分,我正在使用asp.net。商店正面是用经典的asp写的(不是我的决定)。每个部分都将托管在不同的服务器上。
The problem I am having is transferring the contents of the "shopping cart" to our app so that we can collect the cc info and submit the order. We had thought that the classic asp could somehow post an xml fragment which contains the billing/shipping info and the items selected. Our side would display a summary of the order, securely collect the credit card info, and submit the order to our system. But I have been unable to post or send the xml from a classic asp on one server, to our asp.net application on another. It all works just fine when I test on the same server.
我遇到的问题是将“购物车”的内容转移到我们的应用程序,以便我们可以收集cc信息并提交订单。我们曾经认为经典的asp可能会以某种方式发布一个xml片段,其中包含结算/发货信息和所选项目。我们方将显示订单摘要,安全地收集信用卡信息,并将订单提交给我们的系统。但是我无法将xml从一台服务器上的经典asp发送到另一台服务器上的asp.net应用程序。当我在同一台服务器上测试时,一切正常。
How can I post (or otherwise transfer) the shopping cart data from classic asp to asp.net across server boundaries and transfer control to the asp.net application?
如何跨越服务器边界将经典asp中的购物车数据发布(或以其他方式传输)到asp.net并将控制权转移到asp.net应用程序?
As I said, I am new to web development, so this is proving quite a challenge for me.
正如我所说,我是网络开发的新手,所以这对我来说是一个很大的挑战。
1 个解决方案
#1
Straight forward ServerXMLHTTP code shouldn't have a problem going between machines. Usually if the code is working locally but fails when separated on different machines then you need to start looking for Proxy server configs, authentication settings or name resolution as the culprits.
直接的ServerXMLHTTP代码不应该在机器之间出现问题。通常,如果代码在本地工作但在不同的机器上分离时失败,那么您需要开始寻找代理服务器配置,身份验证设置或名称解析作为罪魁祸首。
Some code and description of the actual failure/error message would help?
实际故障/错误消息的一些代码和描述会有帮助吗?
#1
Straight forward ServerXMLHTTP code shouldn't have a problem going between machines. Usually if the code is working locally but fails when separated on different machines then you need to start looking for Proxy server configs, authentication settings or name resolution as the culprits.
直接的ServerXMLHTTP代码不应该在机器之间出现问题。通常,如果代码在本地工作但在不同的机器上分离时失败,那么您需要开始寻找代理服务器配置,身份验证设置或名称解析作为罪魁祸首。
Some code and description of the actual failure/error message would help?
实际故障/错误消息的一些代码和描述会有帮助吗?