Author Topic: When an order is placed  (Read 1368 times)

0 Members and 1 Guest are viewing this topic.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: When an order is placed
« Reply #5 on: March 14, 2009, 07:45:22 PM »
The IPN handler URL is automatically set by the Paypal IPN module.  So, it should never be incorrect unless Paypal does a Zig or Zag with API functionality (which they have been rumored to do...).

That said,  here are good general rules of thumb with Paypal IPN:

NEVER change the order status manually in the cart before the payment is KNOWN ACCEPTED and cleared in Paypal.  Ever.

Why??  Because it opens up a vulnerability for filling an order, then not receiving payment.

After that - if you ship via Paypal's tools, let Paypal manage the order status changes.  

This will let Paypal continue to update the order status.  So, if you get an order cancellation the order status will change.

Paypal was one of , if not the first to provide a rather complete set of order status notifications across the web.  Not unsurprising given their linkage with eBay.  As long as you have not manually changed the order status, they will keep the cart advised of changes for you.  Once you have changed it however, things get a bit hairy and you are safer not to count on any more updates.

Of course if you don't use them for shipping - just remember to update the order status in the cart admin as usual and move on..

David

Liquid

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
  • Karma: 2
    • View Profile
Re: When an order is placed
« Reply #4 on: March 14, 2009, 02:19:48 AM »
Assuming that you've got the right return ipn handler address in your Paypal setup (hmm, where was that?)...

Paypal will notify your store's IPN handler script when paid, and by default I think it's just "Pending", I use it like this, when I ship, then I manually set it to "Delivered" or "Processing" in the admin of the store and opt to send the customer an email with the status update.

Is this a decent way to do this?

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: When an order is placed
« Reply #3 on: January 13, 2009, 10:10:48 AM »
When orders are received via Paypal IPN the order status will be set to the modules default (often but not always "Pending").  As the payment status is updated at Paypal, the store's Order Status will be updated.

Example:

You receive an order from a member at Paypal who is not verified.  Your initial order status is "Pending".  You review the payment information at Paypal, and decide to accept the payment.  The Paypal Module then updates the Order Status to the appropriate status as a result of an IPN message from Paypal.  In my case, this would be to "Download Allowed" and the order is done.

In other cases this could be "Processing" or whatever status you've selected as the next step in order processing....

David

CypherUK

  • Newbie
  • *
  • Offline Offline
  • Posts: 41
  • Karma: 2
    • View Profile
Re: When an order is placed
« Reply #2 on: January 11, 2009, 05:34:33 PM »
Assuming that you are using the Paypal IPN module.

Have you ensured that the settings on your paypal account are correct for your cart? If memory serves me correctly, the settings are situated in the website payments section of your paypal profile.

Also, ensure that the paypal settings in your cart admin, match exactly those of your paypal account. especially the email addresses.

Also, have you set the paypal module to change the status from pending to anything else in the paypal module settings on your cart?

In theroy, when an order is placed, the cart should automatically send your customer an email.

What version of the cart are you using? It's been a while since i used the paypal module to be honest, so if any of the admins can clarify, that would be cool.

Regards
Mark :)

--------------------------------------

terierni

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
  • Karma: 0
    • View Profile
When an order is placed
« Reply #1 on: January 10, 2009, 02:52:05 PM »
I hope this is not too silly of a question. Here goes!

I have a CRE store. Someone has placed and order and I receive the Paypal notice of payment.  I login to my admin and see the order - it shows 'pending' -

Is there something at the point that I should do? Should I send an email to the customer or does the system do so? Should I change the order from pending to processing?

I'm not sure and I don't want to mess up!

Thanks!
 ???