Reply
Highlighted
Member
Posts: 3
Registered: ‎02-24-2015
Accepted Solution

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)


Accepted Solutions
Highlighted
Solution
Accepted by topic author dustpickle
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: PHP Form Submitting

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


All Replies
Highlighted
Solution
Accepted by topic author dustpickle
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: PHP Form Submitting

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

Highlighted
Member
Posts: 3
Registered: ‎02-24-2015

Re: PHP Form Submitting

[ Edited ]

<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)

Highlighted
Member
Posts: 3
Registered: ‎02-24-2015

Re: PHP Form Submitting

Seems like that worked. Just some formating issues. 

 

Thanks for the help!