payment online domain validation - Programmers Heaven

Howdy, Stranger!

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

Categories

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.