in

AlertPay Developers Community

sfipay script to alertpay script

Last post 01-03-2009 10:10 AM by rkdallas. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-02-2009 3:32 PM

    sfipay script to alertpay script

    I have a PERL script that is written to work with sfipay and would like to get it to work with alertpay.

    I have the script working as far as admin and member sections but getting it to work with alertpay ipn is not going so well.

    When I run a purchase in test mode the script is not accepting what alertpay is sending.

    I have it looking for ap_SecurityCode and have my code set in the config file.

    If the script does not get what it's looking for it simply displays Access Denied. Which is what I'm getting everytime.

    Is the ap_SecurityCode sent in test mode or only in live mode?

     

  • 01-02-2009 4:04 PM In reply to

    Re: sfipay script to alertpay script

    The security is sent in both live and test mode. Also the variable name of the security code is: ap_securitycode in our post data

    Check if that is not the cause of your problem.

    ***This is a Developers Forum, any other questions should be addressed to our Customer Support department or you can find the answers in our FAQ page.***
  • 01-02-2009 4:37 PM In reply to

    Re: sfipay script to alertpay script

    I did try your suggestion but still get access denied.

    Thanks

  • 01-02-2009 5:17 PM In reply to

    Re: sfipay script to alertpay script

    Can you check to see if any other variables are being posted? Try commenting out the validation part of your script and check if there is any other information being posted. See if there is anyway that you can get the variables displayed by writing to a file or printing to the screen.
  • 01-02-2009 9:35 PM In reply to

    Re: sfipay script to alertpay script

    Tried it, but got internal server error 500.

    Now back to Access Denied

  • 01-03-2009 10:10 AM In reply to

    Re: sfipay script to alertpay script

     I ran the script through a cgi script checker and cgi monitor and it checks out fine.

    It just seems to me, (Not A Programmer), that the cgi can't read the ap_securitycode.

    I read in another post that the ap_securitycode was going to be sent encrypted, and that your program would have to decrypt it.

    Is it possible that is the problem?

    If so, do you know a perl script for decrypting.

     

Page 1 of 1 (6 items)

  AlertPay - Verified by Visa AlertPay - secure credit card and checking services BBBOnline Reliability Program