Jump to content

[Resolved] Strange order issue


fettlebox

Recommended Posts

I just listed an item especially for a customer.  They don't have paypal so were going to use paypal as a guest & pay with their card.   They have told me they've bought the item.  It is now zero stock.  They are now showing as an unregistered customer.    No money has come through Paypal. No order is showing for them - either pending or processing.  They have zero orders in the customer list. 

 

What's happened?

 

Thanks

Link to comment
Share on other sites

I do not see how the gateway could delete an order. CubeCart will create it just before the customer is given the choice of payment method (or auto-bounce to the one and only payment method available) to make.

You said, " Also shows in Request Log ". What shows? An actual Request and Response for this order? If so, the the store received the IPN.

In the Request, so you see the 'cart_order_id' (aka 'invoice')?

 

Link to comment
Share on other sites

I don't see cart_order_id  on the log page for any order - even the successful ones.    He has tried again after I screenshot the checkout steps to him but still failed.  I know his first attempt was user error as he filled in login details & doesn't have a paypal account. 

I can check out using card no problem so I think I have it set up right.  One thing I failed to screenshot for him was hitting the final submit order button when he gets taken back to the cart after entering his card details.   Until that stage my test purchase log entry was the same as his.   Once I did the final submit the word verified comes up (with other info) in an new log entry.  I'm pretty sure that's where he's going wrong.    I nearly made same mistake thinking I was merely being taken back to an order confirmation rather than another step.  May explain the few times I've been told check-out by card hasn't worked by other users.   Could do with bigger, more obvious prompt on that final screen & the 'Make Payment' button being closer to the  'Please click "Make Payment" to complete your order.' message

 

Cheers

Link to comment
Share on other sites

To confirm, you are using the standard PayPal gateway (as opposed to a plugin such as Express Checkout)?

CubeCart must include a bunch of data to initially send to PayPal -- the Cart Order Number being one.

Then, PayPal needs to send that back in the IPN -- along with a bunch of other things.

Then CubeCart sends back to PayPal a "notify-validate" handshake, using the Response function, in which all those things are verified.

Finally, the Response is simply INVALID or VERIFIED. If VERIFIED, CubeCart uses the order status in the IPN data - "Completed" for a finished transaction (not the same "Order Complete" that is a CubeCart order state).

What is in the Request portion of that Request Log entry? (Blank out any sensitive data.)

Link to comment
Share on other sites

Both.  Is that wrong?  I think it's been like that since I went for the credit card option via paypal.  I's worked in my own tests & I've had ordrs from customers who only use cards.

Capture.JPG

 

This customer reckons paypal is insisting he logs in because he has an old account on the same email.   That's odd as my test worked & I used an email connected to my paypal account.  I can't ring him after all - only has cell & I can only ring international landlines free.

 

Capture2.JPG

 

 

Link to comment
Share on other sites

"Both.  Is that wrong?"

No, but I know even less about the PayPal_Pro plugin than I do about the PayPal Standard gateway.

It seems the customer is using Express Checkout of PayPal Pro. And you are getting an expected reply: ACK=Success.

The next step is that CubeCart bounces the customer over to PayPal:

https://www.paypal.com/webscr&cmd=_express-checkout'.$mobile.'&token=';
where $mobile is "-mobile" under very specific circumstances.

But right before that happens, CubeCart wants to update the record in the CubeCart_order_summary table by adding "PayPal_Pro" in the 'gateway' column.

I see the Order Number in the Request (INVNUM). Which means CubeCart is generating an order number prior to contacting PayPal.

Look in the database table Cubecart_order_tax to see if you can find that order number.

Link to comment
Share on other sites

Thanks - glad to hear having both ticked is ok.  I was curious about that

 

He's now got the order to the 'Pending' stage somehow  so  can see it on the dashboard but is adamant that because his email is the same as that in the paypal account he hasn't used for 13 years that Paypal are insisting he logs in & uses Paypal to check out.   He is having Paypal delete the account today.   I'm not sure that's the issue but we'll see.

Link to comment
Share on other sites

4 hours ago, fettlebox said:

Thanks - glad to hear having both ticked is ok.  I was curious about that

It always used to be the case that it was advised not to have both the PayPal gateway and the PayPal plugin enabled at the same time - there was / is a specific warning in the plugin admin screen and while I dont know the reason why both cannot be enabled, I dont see that either of these have changed for this situation to be any different.#

Ian

Link to comment
Share on other sites

Interesting.  I switched off the gateway & the the checkout is neater & more streamlined with card details entered on a page within the shops checkout rather than on Paypals site.  However on submission it errors with message that merchant can't process transactions.    My account can take cards so what's wrong here?

 

Capture.JPG

Link to comment
Share on other sites

belay - that.  I don't have Payments Pro!   I had mistaken having a business account & being able to take credit cards as being the same thing.   I never noticed the 'checkout as a guest' on the paypal page until I enabled Payments Pro on CC.  That reinforced my misconception!   I will be signing up tomorrow & also getting Virtual Terminal

Link to comment
Share on other sites

  • 4 weeks later...
  • Dirty Butter changed the title to Strange orderhttps://forums.cubecart.com/topic/51670-strange-order-issue/ issue

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...