简体   繁体   English

当选择贝宝的“添加到购物车”按钮时,如何将每个项目的变量传递到贝宝购物车?

[英]How to pass variables of each item through to paypals cart when selecting paypal's 'add to cart' button?

I am developing a website selling gardening products using PHP and SQL. 我正在开发一个使用PHP和SQL出售园艺产品的网站。 The user searches for a plant, finds the one they want, clicks on it for more details and there they see an option to add to cart. 用户搜索一种植物,找到所需的植物,单击该植物以获取更多详细信息,然后他们看到一个添加到购物车的选项。 I have signed up to Paypal's business account and used their add to cart button. 我已经注册了Paypal的公司帐户,并使用了他们的添加到购物车按钮。 But currently, when I try it out and click the button, it doesn't do anything. 但是目前,当我尝试并单击按钮时,它什么也没做。 Obviously this is because know variables have been passed about that specific product. 显然,这是因为已传递有关该特定产品的已知变量。 What do I need to do in order to get each item into the cart? 为了将每件物品放入购物车,我需要做什么?

@QUESTION: @题:

To impliment a normal POST to pass to standard form, follow this tutorial: 要隐含将普通POST传递为标准格式,请遵循以下教程:
http://www.evoluted.net/thinktank/web-development/paypal-php-integration http://www.evoluted.net/thinktank/web-development/paypal-php-integration

@INTEGRATED SOLUTION: @集成解决方案:

Integrated solutions will allow you to make these transactions without going offsite. 集成解决方案将使您无需离开现场即可进行这些交易。
Using this method requires alot more security. 使用此方法需要更多的安全性。

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

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