简体   繁体   English

将HTML表单与Paypal集成

[英]Integrating html form with paypal

I have created a website for the sale of custom Xbox controllers. 我已经创建了一个销售自定义Xbox控制器的website On the site I have form which you can select and customize different parts of the controller via drop-down lists, radio-buttons etc... 在网站上,我有一个form ,您可以通过drop-down列表, radio-buttons等选择和自定义控制器的不同部分。

My question is the following: 我的问题如下:

Is there some way in which I can link the information from the input methods discussed above to the PayPal button?

I know I can go on the PayPal site and create buttons from there, and this will generate code for a button but this will not take information from the input methods above. 我知道我可以进入Pay​​Pal网站并从那里创建buttons ,这将为button生成代码,但是不会从上面的input方法中获取信息。

Thanks, sorry if this is confusing. 谢谢,对不起,如果这令人困惑。

You should do the following: 您应该执行以下操作:

On your side: 在你身边:
Develop a small Java web-service on axis2 , which is very easy. axis2上开发一个小型Java Web服务,这非常容易。
Connect your web-app to your service so that whenever the user selects and customizes different parts of the controller it will persist the output of controllers' specifications on the service side. 将您的Web应用程序连接到您的服务,以便每当用户选择并自定义控制器的不同部分时,它将在服务端保留控制器规范的输出。

On PayPal side: 在贝宝方面:
On the PayPal site create the buttons, and in the code under the buttons call your webservice to retrieve the data and do anything with it. 在PayPal网站上创建按钮,然后在按钮下方的代码中调用Web服务以检索数据并对其进行任何处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM