cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Form Submitting

(*I am not to versed in Code)

 

I am attempting to get complete the connection between our simple form and https://secure.authorize.net/gateway/transact.dll

 

This is the test site I have up right now: http://onehealth.bridge-mktg.com/plan-your-visit/pay-your-bill/

This has a PHP Includes of the PHP File that has the Form and the rest of the code. 

 

When you enter the information and hit submit, it takes you back to the homepage. 

 

This is the file that is being inserted: http://onehealth.bridge-mktg.com/billpay-insert.php  As you will notice, this forms works...

 

Any thoughts?

(p.s. This is a Wordpress Based website)

dustpickle
Member
1 ACCEPTED SOLUTION

Accepted Solutions

View the page source from a web browser, I don't see it posting to authorize.net, look like it posting to index.php

View solution in original post

RaynorC1emen7
Expert
3 REPLIES 3

View the page source from a web browser, I don't see it posting to authorize.net, look like it posting to index.php

RaynorC1emen7
Expert

<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">

 

That is what is in the PHP. 

 

 

Should it say this: 

<form method="POST" action="<?php echo $_SERVER['billpay-insert.php']; ?>">

 

(This: http://onehealth.bridge-mktg.com/billpay-insert.php has billpay-insert.php there)

Seems like that worked. Just some formating issues. 

 

Thanks for the help!