Copied to clipboard

Flag this post as spam?

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


  • Dennis Luzada 13 posts 43 karma points
    Dec 20, 2012 @ 08:34
    Dennis Luzada
    0

    Auto Capture

    Hi TC Team,

    I currently have a functioning custom payment provider for QBMS.  Just the standard process : Auth and then Capture.  But now I would like it to "auto capture" transactions that were successfully authorized.  How do i go about properly configuring this behaviour?  Just need a little guidance :) .. Thanks in advance!

    Regards,
    Dennis

  • Anders Burla 2560 posts 8256 karma points
    Dec 20, 2012 @ 12:55
    Anders Burla
    0

    Hi Dennis

    Auto capture is a thing your provider should support or the gateway - it has nothing to do with Tea Commerce in basic :)

    Some providers has a property you should supply to auto capture, some have a setting in the administration interface.

    If your Tea Commerce payment provider has implemented the capture method you could also call that from your callback url to make the capture. It depends on how your gateway API works :)

    Kind regards
    Anders

  • Dennis Luzada 13 posts 43 karma points
    Dec 20, 2012 @ 13:10
    Dennis Luzada
    0

    Hi Anders,

    Thanks for the response.  I see, I understand, so I can invoke CapturePayment() from within ProcessCallback()?  But what about the return type CallbackInfo? Do I just assign values to this type based on the info returned from CapturePayment() which is the ApiInfo?  Will I not be bypassing any TC events in this manner that may mess up the order or something like that?  Thanks in advance!

    Regards,
    Dennis 

  • Anders Burla 2560 posts 8256 karma points
    Dec 20, 2012 @ 13:17
    Anders Burla
    100

    Yes you should use the response from CapturePayment to set the status of the CallbackInfo. I don't think that you will bypass any events - but you will have to try as this is not a case I have used or tested before :)

  • Dennis Luzada 13 posts 43 karma points
    Dec 22, 2012 @ 10:17
    Dennis Luzada
    0

    Hi Anders,

    Thanks again for your reply.  Yep, I will try this out, have a good feeling it will work.  I'll post whatever comes out of the implementation.  Thanks! 

    Regards,
    Dennis 

Please Sign in or register to post replies

Write your reply to:

Draft