close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Desperate for Paypal Help

Thread begun 4/03/2009 7:13 am by neileisen207079 | Last modified 4/03/2009 12:12 pm by Ray Borduin | 3564 views | 4 replies |

neileisen207079

Fatal error: Call to undefined function PP_DirectPayment_Post()

I recently hired a developer to build my online store, and after months of waiting, he quit, and I was left with barely anything built. I have muddled through my first try at using ecart, and with the help of tech support I have gotten very far. I now have everything working UNTIL the confirm page. I get the following error:

Fatal error: Call to undefined function PP_DirectPayment_Post() in /var/www/html/confirm.php on line 227

line 227 is this:

$WAGatewayResponse = PP_DirectPayment_Post($PP_DirectPayment_required,$PP_DirectPayment_itemized,$PP_DirectPayment_optional);
if ($WAGatewayResponse) {
$eCart1->redirStr = "checkout_success.php";
}
else if ("checkout_failure.php" != "") {
header("Location: ". "checkout_failure.php");
exit();
}

I checked the setting for Paypal and reloaded all the files.. but I have no idea where to go from here. PLEASE can someone help me with this? I am already 2 months late with this project and desperately trying to get it to work. Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

It sounds like an include file isin't in the correct place. It may be too low, or it may not exist.

Do the paypal server behaviors on the page show as broken? They would if the include reference wasn't on the page at all and you could probably open them and reapply them to fix the problem.

If they aren't broken in the server behavior window you may have to find the include reference:

require_once("../WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php");

and move it up on the page above the line with the error.

Sign in to reply to this post
Did this help? Tips are appreciated...

neileisen207079

Great Call! Thanks... that worked! Now I just get the checkout failure page with this simple error:

Transaction Not Completed
We're sorry

Your transaction could not be completed.

So I guess I'm closer. At least its legitimately not working. I used my actual credit card to test it, and I called Paypal and they assured me the account is set up properly... so now can you possible help me figure THIS problem out?

Sign in to reply to this post

neileisen207079

Found one of your other posts and added the error message bindings to the page, and I can now see that the error is as follows:

Your transaction could not be completed.

Failure

10002

Security error

Security error

Security header is not valid

Still cant figure out a solution though.

Sign in to reply to this post

Ray BorduinWebAssist

You must not be using the correct security credentials... ie. username password or security key.

Sign in to reply to this post
Did this help? Tips are appreciated...

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