Copied to clipboard

Flag this post as spam?

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


  • Pieter Zuidweg 1 post 21 karma points
    Aug 14, 2013 @ 14:16
    Pieter Zuidweg
    0

    Implementing Multysafepay

    Hi,

     

    Someone please help.

     

    I am trying to implement MultiSafepay for teacommerce.Multisafepay works by posting information to them and giving a return URL

    I have made a MultySafePay.cs in eacommerce.PaymentProviders but i am still having problems with

    1. Do i finalize the order in the GenerateHtmlForm();

    order.FinalizeOrder(order.TotalPrice.Value, RandomNumber.ToString(), PaymentState.Initialized))

    2. Return URL is a URL witch is just a contentpage in our website. There is no callback or capture payment function fired so how can i set the order to finilized.

     

    Thanks for the help

     

  • Anders Burla 2560 posts 8256 karma points
    Aug 15, 2013 @ 10:11
    Anders Burla
    0

    Hi Pieter

    Welcome to the Umbraco/Tea Commerce forum community!

    First - dont finalize the order in the GenerateHtmlForm. Do the payment gateway support a callback url or does it only support that you give it a continue url which the customer will be redirected to when payment has been completed? If it don't support a callback url, then you should override the FinalizeAtContinueUrl and return true in your provider. This will make Tea Commerce execute the ProcessCallback method at the continue url, BUT before the customer is redirected to your shop.

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft