Copied to clipboard

Flag this post as spam?

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


  • Jesper Lauridsen 25 posts 84 karma points
    Mar 14, 2013 @ 15:43
    Jesper Lauridsen
    0

    Custom payment provider with only 'Accept'

    Hi

    I am trying to develop a custom paymentprovider for TeaCommerce, based on the 'Default'-branch.
    I have gotten around to make the post back to the 'postbackurl', but now I am kinda stuck;

    I would like my payment provider only to have an 'Accept'-button, which activates both the 'accepturl' and the 'continueurl', so that my shop would return to the last step?

    How can I do that?

    --
      Regards
      Jesper Lauridsen

  • Anders Burla 2560 posts 8256 karma points
    Mar 14, 2013 @ 16:06
    Anders Burla
    100

    Hej Jesper

    The default branch of Tea Commerce payment provider is now for Tea Commerce 2.0 - so be sure to use the "1.x" branch.

    I think you need to override the FinalizeAtContinueUrl and return true. This will let Tea Commerce call the callback method for your provider when it reaches the continue url

    Kind regards
    Anders

  • Jesper Lauridsen 25 posts 84 karma points
    Mar 14, 2013 @ 17:21
    Jesper Lauridsen
    0

    Hi Anders

    Thank you for a quick response.

    --
      Regards
        Jesper Lauridsen 

Please Sign in or register to post replies

Write your reply to:

Draft