This is a discussion on Paypal WPP conflicting with PWA? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; For some reason, after installing paypal's website payments pro contrib, users can no longer create accounts. instead i get ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| For some reason, after installing paypal's website payments pro contrib, users can no longer create accounts. instead i get the message, "Parse error: syntax error, unexpected $end in /home/rlspecia/public_html/create_account.php on line 394" 394 being the last line of the file. I have very limited php skills, so I simply added the paypal bit in the appropriate place, but it's immediately followed by a pay without account segment of code that looks similar, could they be conflicting? PHP Code: |
|
#2
| ||||
| ||||
| Yep - look at the duplicate code. Code: $check_email = tep_db_fetch_array($check_email_query); Code: if ($check_email['.......'] == '1') { Code: tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$check_email['id'] . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$check_email['id'] . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$check_email['id'] . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . (int)$check_email['id'] . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . (int)$check_email['id'] . "'");
tep_db_query("delete from " . TABLE_WHOS_ONLINE . " where customer_id = '" . (int)$check_email['id'] . "'"); Code: $error = true; Code: $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS); Re-read the instructions. Did it said to insert or replace: Code: if ($check_email['total'] > 0) {
$error = true;
$messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
.... |
|
#3
| ||||
| ||||
| Try this: PHP Code: |
|
#4
| ||||
| ||||
| FYI a complete package of: PayPal Website Payments Pro This module implements PayPal Website Payments Pro which consists of PayPal's Express Checkout and Direct Payment methods. Since it over-writes several checkout files, it is likely to be incompatible with any modifications you have made to your checkout process or any other contributions that modify the checkout process. We hope to enhance it in the future so that it can be installed along side other checkout modifications. This module does not use the PayPal PHP SDK so the installation is fairly easy. This has not be fully tested - this is a port to BTS and is OSCMAX compatible - the only file that may need tweaking is the above file. Anyone who use PAYPAL please test with PWA and report back. |
| The Following User Says Thank You to jpf For This Useful Post: | ||
michael_s (03-21-2007) | ||
|
#5
| |||
| |||
| I installed this mod and everything works up until the point where it reaches the checkout_process.php page. Once it hits this page I am given a blank screen. If someone clicks on the link to do an express payment it also sends them to a blank page via ex_process.php. Has anyone ran into this before and if so what was done to fix it? Last edited by telder; 11-21-2007 at 07:55 PM. |
|
#6
| |||
| |||
| Does anyone have ANY thoughts on this?? |
|
#7
| |||
| |||
| There has to be someone that has implemented this and knows how to resolve the issues that have cropped up. IF I can't get this resolved within the next few days I'll have to move on to a solution that actually works. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PayPal IPN in RC3 - values not being passed to PayPal? | SavageSinister | osCMax v2 Installation issues | 3 | 02-12-2007 03:57 PM |
| conflicting Text Characters html and php | anthon | osCommerce 2.2 Installation Help | 4 | 11-11-2004 10:35 PM |
| paypal and paypal IPN, whats the diff? | lhotch | osCommerce 2.2 Installation Help | 1 | 09-06-2003 06:34 PM |