Jump to content

Search the Community

Showing results for tags 'callback'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 2 results

  1. I'm writing my own payment module for OSCommerce. We use asynchronous callbacks from our payment gateway. It means that I need to create the order while handling such a callback. I understand that I should use checkout_process.php for that. But the problem is that there's no session context since the callback is asynchronous. So tep_session_is_registered will fail. From the code of other payment modules it looks like mostly they are based on the existing session context. So what's the best strategy in that case? In fact, the idea is that we have all the necessary information returned in the data with the callback. So in theory I can create a new order out of the session context, but I don't want to rewrite the already existing logic and it has a lot of dependencies. On the other hand, I can try to restore the session from the database (create a kind of dummy session with the necessary context to call checkout_process.php), but that doesn't seem easy at the moment. Nor does it seem the right thing to do. Maybe some plugins use the same pattern? Thanks
  2. Hi, I almost finished payment module and want to clarify following question: Payment gateway needs tree urls - callback, success and cancel. callback - is for background callback success - is to redirect customer after payment cancel - is to redirect customer on canceling of transaction What is the best way to process this callbacks? Is there some interface to direct such requests to my module through router or I need separate public files to catch it? Best regards, Vladimir
×