Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

payment online domain validation

decentsimpledecentsimple Posts: 2Member
Hi,

Greetings!

I have a problem w/ posting my form onto an internet payment system called enets.

they told us that we need to pass them 3 values: amount, txnRef, mid

and also, they told us the our system needs to be posting from our domain, site.com lets say.

my question is.. how should i code or let that site know that my system is coming from this domain?



under web.config file, i configured the domain to be :






under Confirmation.aspx ( have site.master )

METHOD # 1: based on the document, do as how asp / php do, under html:






METHOD # 2: asp.net
inside code-behind of confirmation.aspx (button click event) : straight
forward sample
Response.Redirect("https://site.com.enps.do?amount=xxx&txnRef=xxx&mid=xxx")


Both method are going to the site, but with the error : "Invalid Merchant web url" <--- just an error created by them

advance thanks!

Comments

  • neocambellneocambell Posts: 6Member
    Check whether your action is put correctly. (I'm sure you did)

    Normally action refers to a ASP (.asp), ASP.NET (.aspx), PHP or JSP page.

    For example:



    The other point is, normally payment gateways are secure. So instead of http:// you might require to use https://


    If you use a good shopping cart software, it comes with plugins for all popular payment gateways.

    Regards,

    Neo
  • decentsimpledecentsimple Posts: 2Member
    thanks for replying!

    and sorry for taking so long to reply..

    like what you mentioned, https ;)

    say i got this from the payment site document:
    Below is the sample code for a merchant
Sign In or Register to comment.