Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A bit of a different type of paypal issue (it works, just look and see)


lextech

Recommended Posts

Randomly my site will not record orders made through paypal. A lot of times it will, but not always. Any ideas?

 

One more thing. I am not able to get detailed information for my orders through paypal, it only says purchased from XXX store. How can I make it insert a detailed order in the paypal checkout notes?

 

Thanks :)

RC2.2a

Link to comment
Share on other sites

Randomly my site will not record orders made through paypal. A lot of times it will, but not always. Any ideas?

 

One more thing. I am not able to get detailed information for my orders through paypal, it only says purchased from XXX store. How can I make it insert a detailed order in the paypal checkout notes?

 

Thanks :)

 

Hey bc, I have an answer to your first question:

 

The reason the orders come in sometimes, and not others is because the customer is sent to paypal before the checkout_process.php script is called. only if they come back to your site successfully after making their payment will the order show up on your side. I have had this same problem.

 

Here is the line of code that sets up the field for paypal to send the customer back to after payment. (from /catalog/includes/modules/payment/paypal.php)

tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .

Somehow we need to first process the order and then send the customer through to paypal.

 

That way, regardless of if they make a successful payment or not, at least you have their order details.

 

I have not yet rectified this problem in my cart, but am aware of it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...