简体   繁体   English

通过PayPal进行的全球捐赠

[英]Global donations via PayPal

I am working on a script that collects donations from people on company website, I am able to get the PayPal integrated with our system and able to get the donations work as well, however if someone does not have a paypal account they try to pay via Credit Card (at PayPal) but they get into the problem where no matter what country they select the states dropdown never changes, here is what my form looks like. 我正在使用一个脚本来收集公司网站上的人员的捐款,我能够将PayPal与我们的系统集成在一起,也能够使捐款正常运行,但是,如果某人没有Paypal帐户,他们会尝试通过以下方式付款信用卡(在PayPal使用),但是他们遇到了一个问题,无论他们选择哪个国家/地区,下拉菜单都不会改变,这就是我的form I was wondering if i need to send something with my form to accept global donations, which might eventually solve the problem with states dropdown. 我想知道我是否需要通过表格发送一些东西来接受全球捐赠,这最终可能会解决州下拉菜单中的问题。

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> \
    <input name="cmd" type="hidden" value="_xclick-subscriptions"/> \
    <input id="business" name="business" type="hidden" value="'+loadEmail()+'"/> \
    <input name="item_name" type="hidden" value="Donation to One Horizon"/> \
    <input name="item_number" type="hidden" value="aid-donation"/> \
    <input id="currency_code" name="currency_code" type="hidden" value="'+loadCurrency()+'"/> \
    <input name="no_shipping" type="hidden" value="1"/> \
    <input name="return" type="hidden" value="http://onehorizon.net/index.php/thank-you-for-your-donation/"/> \
    <input name="cancel_return" type="hidden"
           value="http://onehorizon.net/index.php/thank-you-for-your-donation/?error=cancel"/> \
    <input name="no_note" type="hidden" value="1"/><input name="lc" type="hidden" value="CA"/> \
    <input name="bn" type="hidden" value="PP-SubscriptionsBF"/>';
    <input type="submit" class="mcpddonatenow" name="submit" value="Donate Now" alt=""> \
</form>

在此处输入图片说明

I have been searching online and into the PayPal documentations but could not find out what seems to be the problem, i will really appreciate if i can get some help 我一直在网上搜索并进入Pay​​Pal文档,但无法找出问题所在,如果能获得帮助,我将不胜感激。

This seems like something you'd have to post to PayPal MTS , but you're going to need to provide as much detail as possible. 这似乎是您必须发布到PayPal MTS的东西 ,但是您将需要提供尽可能多的细节。

Try clearing your browser history/cache and re-trying it. 尝试清除浏览器的历史记录/缓存,然后重试。 Also try different browsers to see if the problem is happening only in a single browser or version. 还可以尝试使用其他浏览器,以查看问题是否仅在单个浏览器或版本中发生。 You need to try and narrow it down to a single browser/version that it might be happening in. 您需要尝试将其范围缩小到可能发生的单个浏览器/版本。

Really, though, emptying your history/cache might actually fix the problem. 但是,实际上,清空历史记录/缓存实际上可以解决该问题。

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

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