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!
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 :)
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!
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 :)
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
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
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
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 :)
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
is working on a reply...