Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Geoff 19 posts 134 karma points
    Nov 23, 2015 @ 13:11
    Geoff
    0

    302 Issue when finalizing PayPal payments

    Hi,

    We've just moved to a live server with Tea Commerce and PayPal payments are not triggering the Finalized event for orders.

    Checking a bit further it seems the URL https://(our domain)/base/TC/PaymentContinue/1/PayPal/... is giving a 302 error.

    This was working in a sandbox test (but not HTTPS). I feel like this is a configuration error but can't work out what is wrong.

    Any ideas on how to solve this?

    Thanks

    Geoff

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 23, 2015 @ 15:04
  • Geoff 19 posts 134 karma points
    Nov 24, 2015 @ 01:48
    Geoff
    0

    Hi Anders,

    Thanks for the link. I adjusted the URL for the IPN setting and it appears the payment is being set to captured and the cart being converted to an order.

    However I still get a 302 error on the URL https://(our domain)/base/TC/PaymentContinue/1/PayPal/... Where is this URL called? Is it something I need to sort out?

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 24, 2015 @ 10:22
    Anders Burla Johansen
    100

    Tea Commerce generates that and is the one that is redirected to when the order is completed at PayPal. 302 is a temp redirect. Do you have a rewrite rule that does something to the URL when it is hit and the browser would normally redirect the customer in the browser?

    This URL changes the state of the order in the session to completed - because the IPN can be several minutes before it makes a callback.

    Kind regards Anders

  • Geoff 19 posts 134 karma points
    Nov 25, 2015 @ 01:10
    Geoff
    0

    Thanks for your reply Anders. I understand what is happening now.

Please Sign in or register to post replies

Write your reply to:

Draft