close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

help with check out

Thread began 2/27/2012 3:37 pm by hostmaster336780 | Last modified 2/29/2012 4:52 pm by Jason Byrnes | 1145 views | 12 replies |

hostmaster336780

help with check out

I don't know what I'm doing wrong but no one can buy on my website help pls my search page is Search.php and i use website payments pro from paypal and the paypal button doesn't even work wtf

Attached Files
checkout_failure.zip
Sign in to reply to this post

hostmaster336780

gonna try to delete everything and start over........................

Sign in to reply to this post

hostmaster336780

well its still not working anyone here to help?

Sign in to reply to this post

Jason ByrnesWebAssist

well, when i go to your detail page:
Detail.php?RazorNumber=AC-1000

it gives an error:
Warning: require_once(../WA_eCart/razorcart_PHP.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/87/8825987/html/Templates/Detail.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '../WA_eCart/razorcart_PHP.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/87/8825987/html/Templates/Detail.php on line 3


this means that the WA_eCart/razorcart_PHP.php file has not been uploaded to the server, make sure to upload the WA_eCart/ folder to the server.

Sign in to reply to this post

hostmaster336780

sorry a php programer tried to fix it and messed it up more pls look again i have it back so it goes all the way to the checkout pgs but it just won't work to check out and the paypal button still not working - on the confirm page it comes up


Warning: require_once(WA_eCart/razorcart1_PHP.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/87/8825987/html/confirm.php on line 6

Fatal error: require_once() [function.require]: Failed opening required 'WA_eCart/razorcart1_PHP.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/87/8825987/html/confirm.php on line 6

But i have no razorcart1.php idk were that is coming from? all I do have is razorcart.php

Attached Files
WA_eCart.zip
Sign in to reply to this post

hostmaster336780

hello anyone here?

Sign in to reply to this post

Jason ByrnesWebAssist

please be patient, we are available from 9am - 5pm Eastern Standard Time, Monday - Friday.


on the confirm page, there are 2 cart objects attached, but only one is being used.

find and delete the following 2 code blocks:

php:
<?php

//WA eCart Include
require_once("WA_eCart/razorcart1_PHP.php");
?>



php:
<?php

$razorcart1
->GetContent();
?>




to troubleshoot the PayPal button, add the following code to the pp_checkout_failure.php page:

php:
<?php

@session_start();
echo 
"<p>Express Authorize: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br /></p>"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
?>




this will write the full request going to and the full response coming back from paypal to the screen.

NOTE: the full request and response will contain sensitive information that should be removed before posting here.

Sign in to reply to this post

hostmaster336780

sorry this website has just been a pain. ok did what you asked on the confirm page it now say's

Fatal error: Call to a member function IsEmpty() on a non-object in /home/content/87/8825987/html/confirm.php on line 740

and the paypay info is in the file

Thank you so much for your time on this...

Attached Files
paypal.txt
Sign in to reply to this post

Jason ByrnesWebAssist

the eCart store order details behavior is using the razorcart1 cart object, you will need to edit it and change it to use the razorcart object instead.


also there are these 2 code blocks that reference the razorcart1 object

<?php
if ($razorcart1->IsEmpty()) {
$razorcart1->redirStr = "cart.php";
$razorcart1->cartAction = "RedirectIfEmpty";
}
?>


<?php
// WA eCart Redirect
if ($razorcart1->redirStr != "") {
header("Location: ".$razorcart1->redirStr);
}
?>



it looks like you had 2 cart objects at one time, and have run t checkout wizard for both, and the code for the other cart object is still left behind causing hte problenm, it may be worthwhile to delete the checkout pages and re run the checkout wizard.


for the checkout button problem:

the error coming back from paypal is:
Security header is not valid


this error happens if the API Credentials entered are for the live server, but the sandbox server is turned on, or vice versa.

Sign in to reply to this post

hostmaster336780

ok i deleted all the pages and started over the paypal button is working i did not try the credit cards on my site yet

I just tried the credit cards on the site and it still does not work............

and now i'm getting this with the paypal button...But only sometimes?


Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Cookie: TS2da579=01e27972b5c2fd98ca7995bebf5821c5c606fa037f06b2114f4d301bfaa6df63a67efab4a0e245897adb99a7ba64fcf83ecccf3489d9b1b617ced6c6f73a617aee1faa66994b25e9bc79c4fd52cd3ebeae122550dd628b678e16e9

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...