Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
How can I force a customer to enter either/or a phone or email? I just received an order through that came through as a Failed PayPal order with no email or phone -- no way to contact the customer, short of snail mail to her delivery address! |
|
|
|
|
Rank: Member
Joined: 4/10/2006(UTC) Posts: 462
|
Hi Joe, I hate the moderation time of these forums as for the most part it serves no point, if someone really wanted something to post instantly they could just post to an unmoderated forum, drives me nuts… Anyway, paypal always requires a customer to enter an e-mail address in order to use paypal. It is a bug or a bad feature design decision that bvc5 does not capture this e-mail. In your paypal express checkout file, find the function “LoadShippingMethodsForOrder” and make a slight line addition. It should look like this to start: Code: Dim o As Orders.Order = SessionManager.CurrentShoppingCart Dim address As Contacts.Address = GetAddress() If (address IsNot Nothing) Then o.SetShippingAddress(address) o.BillingAddress = address Orders.Order.Update(o)
Change it to:
[code] Dim o As Orders.Order = SessionManager.CurrentShoppingCart Dim address As Contacts.Address = GetAddress() If (address IsNot Nothing) Then o.SetShippingAddress(address) o.BillingAddress = address ' CapLink Change o.UserEmail = EmailLabel.Text ' End CapLink Change Orders.Order.Update(o)
There is another bug with paypal checkout if you ever have to go back and edit the order after it has been submitted, the state field is not properly set. I posted about this here: http://forums.bvcommerce.com/default.aspx?f=88&m=48429 Including a fix for that issue. If you typically require a phone number on most of your orders and would like to require a phone number on your paypal orders as well, I posted a new paypal checkout routine onto the forums, here… http://forums.bvcommerce.com/default.aspx?f=79&m=48402 |
Netriplex Corporation<br /> |
|
|
|
Rank: Member
Joined: 6/26/2006(UTC) Posts: 351
|
Wow, thanks those will be helpful!
A side note, my Paypal was working perfectly fine up until a week ago. Now 1/3 of them are failing. Any reason why this might be? I certainly didn't make any changes. Paypal support has been no help. I will try to delete my Paypal payment stuff and make a new one and hope that takes care of it. |
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Angela -- what do you mean by "failing" -- have received about three PP orders (out of about 25) over the past 2 weeks where they don't go through, something about an Invalid PayPal ID -- which I was thinking that customers are hitting the PayPal button instead of the regular checkout button -- though I'm not sure why they are brought back to the store and given an Order ID. There should be a way to deny unauthorized PayPal orders like you can credit card. |
|
|
|
|
Rank: Member
Joined: 4/10/2006(UTC) Posts: 462
|
Hi Joe,
Not sure what Angela means by failing either, however, if the error you are talking about is the invalid payor id error. Then the issue is a result of customers beginning a paypal checkout and then not completing the checkout until an extended period of time has passed. The result the original "token" that paypal provides bvc5 to track the payment, expires before the customer completes the checkout and as such as far as paypal is concerned the payor id is invalid. Modifying the workflows would allow you to trap this and report the issue to the customer, however for the number of time we see it (as rare as you) we just e-mail the customer with our canned "Credit card declined" message and explain the full issue when they call in. |
Netriplex Corporation<br /> |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.