Since I try the paypal express checkout and found that the return value included the address line 2. But ubercart only save the address line 1. It make me cannot ship the product to customer.
The return value:
array(20) {
TOKEN?=> string(20) "EC-4SP58081BR811394R"
TIMESTAMP?=> string(20) "2010-09-10T08:24:57Z"
CORRELATIONID?=> string(13) "598b19186a36f"
ACK?=> string(7) "Success"
VERSION?=> string(3) "3.0"
BUILD?=> string(7) "1500373"
EMAIL?=> string(27) " mhyiu4c@pantarei-design.com"
PAYERID?=> string(13) "HQSH2HUFDM7B8"
PAYERSTATUS?=> string(10) "unverified"
FIRSTNAME?=> string(7) "XXXXX"
LASTNAME?=> string(3) "XXXx"
COUNTRYCODE?=> string(2) "HK"
SHIPTONAME?=> string(11) "XXXXXXXx"
SHIPTOSTREET?=> string(29) "A1 XXXXXXXXXXXX,"
SHIPTOSTREET2?=> string(24) "A2 XXXXXXXXXXx"
SHIPTOCITY?=> string(6) "香港"
SHIPTOCOUNTRYCODE?=> string(2) "HK"
SHIPTOCOUNTRYNAME?=> string(9) "Hong Kong"
ADDRESSSTATUS?=> string(11) "Unconfirmed"
INVNUM?=> string(13) "87-1284107056"
}
I patched and tested to save the address line 2. please help to review.
| Comment | File | Size | Author |
|---|---|---|---|
| ubercart-6.x-2.x-1284273571.patch | 857 bytes | arsunyiu |
Comments
Comment #1
hswong3i commentedsubscribing
Comment #2
hswong3i commentedI am facing this critical issue and so my client not able to utilize PayPal Express. May someone give a hand for this review?
Comment #3
longwavePatch is trivial and matches PayPal documentation.
Comment #4
tr commentedCommitted.