【问题标题】:Address overriding in paypal贝宝中的地址覆盖
【发布时间】:2012-05-22 06:39:05
【问题描述】:

我有这种情况,我需要覆盖我的买家的送货地址,所以我在我的 PaypalIpnConfig.php 文件中得到了这个代码:

var $settings = array(
//more settings
  'address1'=>'test address st',
  'address2'=>'test address st 2',
  'country'=>'United States',
  'state'=>'Alaska',
  'city'=> 'Anchorage',
  'zip'=>'99501',
  'address_override' =>'1'
);

但在重新加载我的网站后,我收到以下警告:

Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address.

我检查了一些与我的问题类似的问题,但是我没有得到我需要的答案

How to send Shipping address to Paypal, when using Paypal IPN

Paypal Address Override not working

可能出了什么问题?

【问题讨论】:

标签: cakephp paypal


【解决方案1】:

必须以 2 个字符的单词形式给出状态。 所以在你的情况下,它会是:'state'=>'AL' 或其他东西

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI0J0VU

【讨论】:

    猜你喜欢
    • 2012-02-09
    • 2017-08-21
    • 2010-12-22
    • 2012-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-05
    • 1970-01-01
    相关资源
    最近更新 更多