English 中文(简体)
薪资高于一切的处理方式
原标题:Address overriding in paypal

我有一个假想,我需要推翻 我的买主的货运地址 所以我在我的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.

我查了一些与我的问题相似的问题......然而我没有得到我需要的答案

< a href=> https://stackoverflow.com/ questions/573926/how-to-send-send-shipping-address-to-paypal-waypal-useing-paypal-ipn> 如何在使用 Paypal IPN 时将航运地址发送给 Paypal

Paypal 致词无效

可能有什么错?

问题回答

State must be given as a 2-character word. So in your case it would be: state => AL or something

https://cms.paypal.com/us/cgi-bin/?cmdrender-content&content_ID=developer/e_hoto_html_Appx_websitestand_htmlvaliables#id08A6HI0VU





相关问题
PHP Framework: Ebay Like Site

I am going to be builiding a site like ebay - with all the features of ebay. Please note my payment method is limited to paypal. What would be the best PHP framework to use to build this quickly, ...

specifying date format when using $form->inputs() in CakePHP

I am wondering if there is a way to specify the date format in the forms created using CakePHP s $form->inputs(); Please note that this is not the individual $form->input() but instead $form->inputs() ...

Using DISTINCT in a CakePHP find function

I am writing a CakePHP 1.2 app. I have a list of people that I want the user to be able to filter on different fields. For each filterable field, I have a drop down list. Choose the filter ...

Assistance with CakePHP model relationships

How would I represent the following in a CakePHP model? Product ======= product_id .... Cart ==== cart_id .... Carts_Products ============== cart_id product_id quantity

Prevent controller from trying to autoload model

I am a beginning Cake user and trying to do some work on an already existing application. Running into a problem when I create a new controller. I have created StoreController and when I try to call ...

热门标签