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
    Oct 03, 2012 @ 21:05
    Dennis Luzada
    0

    Payment Error Page

    Hi,

    How do I properly manually send the user to the Payment Error Page (the page after the Confirmation Cart Step) if for example the Auth process failed due to some reason that makes the credit card invalid?

    Regards,
    Dennis

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 04, 2012 @ 08:14
    Rune Grønkjær
    0

    Hi Dennis,

    You do that by setting the Cancel url of your payment method(s). Just paste the full url of your error page in there.

    Then the payment gateway will redirect there when the user cancels the payment, or an error happens.

    /Rune

  • Dennis Luzada 13 posts 43 karma points
    Oct 04, 2012 @ 09:23
    Dennis Luzada
    0

    Hi Rune,

    Is this the "teaCommerceCancelUrl" parameter in GenerateForm() method?  Will redirection to this url make TC Framework properly cancel the order? I'm doing these stuff manually because the gateway cannot post to my site.  I only process the HttpResponse I get from them.  So if i get a response from Authorization that indicates a failure I wish to redirect the user to the cancel Url.

    Thank you for responding :)

    Regards,
    Dennis 

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 04, 2012 @ 09:32
    Rune Grønkjær
    0

    Hi Dennis,

    Ok, so you're creating a custom payment provider? That's a different situation then.

    Yes, the teaCommerceCancelUrl is the "magic" cancel url of Tea Commerce. I'm not the expert on payment providers, that would be Anders Burla, and I will have him take a look on your question.

    BUT, calling the teaCommerceCancelUrl might do the trick for you. It will send the user to the cancel url, that i mentioned in my previous answer.

    You should also know that there is no "right" way of cancelling payment. If the order has not yet been finalized (which means that the payment has been successfull) you can allways return to the webshop and continue using the order.

    /Rune

  • Dennis Luzada 13 posts 43 karma points
    Oct 04, 2012 @ 10:11
    Dennis Luzada
    0

    Hi Rune,

    Cool! I guess "teaCommerceCancelUrl" is exactly what I need then. Awesome! And yes I am creating a custom payment provider for QuickBooksMerchantServices using the Desktop Model.  I will try and work with this "teaCommerceCancelUrl" parameter now and post feedback when I am able.  Again, thank you so much for responding to my inquiry.  TC rocks!

    Regards,
    Dennis 

Please Sign in or register to post replies

Write your reply to:

Draft