New Zenner
- Join Date:
- Aug 2006
- Posts:
- 13
- Plugin Contributions:
- 0
PayPal module send wrong phone number
Not sure why i can't find a post about this - but i seem to have fixed my own problem so i figured i would document it.
-
e.g. phone number entered for my Zencart user: 123-456-7890
-
zencart'; paypal.php seems to split this into:
day_phone_a, b, c as 123, 456, and 7890 respectively -
when info gets passed over to paypal it seems to only pick up day_phone_b or 456 in my example.
-
i think that PayPal API is expecting a variable named H_PhoneNumber - which if i add to paypal.php as the concatenation (and adding "-") of the 3 partial bits - it seems to work correctly
so in other words:
- in paypal.php i set H_PhoneNumber = day_phone_a + "-" + day_phone_b + "-" + day_phone_c
OR
123-456-7890 in my example
and this seems to pass correctly.
Again not sure why i couldnt find post about this????
cheers,