-
Content count
15 -
Joined
-
Last visited
Profile Information
-
Real Name
Nico
-
@Mort-lemur/ Harald Ponce de Leon: How to log the Transactions
Nick-Nick replied to Nick-Nick's topic in PayPal
That works well. Thank you very much! -
@Mort-lemur/ Harald Ponce de Leon: How to log the Transactions
Nick-Nick replied to Nick-Nick's topic in PayPal
Hi Harald that does not really help me today.. Don't you have a snatch of code for me? ;-) -
In this Topic: Paypal Express - Seen New Error - Help Please you where talking about logging the Transactions. Would You please tell me how you did it. Because it would be helpful to solve my different Problems. Thank You!
-
I found this Part of the Code in the express.php: // Remove shipping tax from total that was added again in ot_shipping if (DISPLAY_PRICE_WITH_TAX == 'true') $order->info['shipping_cost'] = $order->info['shipping_cost'] / (1.0 + ($quotes_array[$default_shipping]['tax'] / 100)); $module = substr($shipping['id'], 0, strpos($shipping['id'], '_')); $order->info['tax'] -= tep_calculate_tax($order->info['shipping_cost'], $quotes_array[$default_shipping]['tax']); $order->info['tax_groups'][tep_get_tax_description($module->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id'])] -= tep_calculate_tax($order->info['shipping_cost'], $quotes_array[$default_shipping]['tax']); $order->info['total'] -= tep_calculate_tax($order->info['shipping_cost'], $quotes_array[$default_shipping]['tax']); Obviously this Code subtracts the tax from the shipping cost. But if I change anything on this Code the calculation on the first call to PayPal (after the checkout_payment.php) changes. But as I said that one was correct. So I am still stumped why the calculation after the checkout_confirmation.php is different from the one after the checkout_payment.php. How can I change anything, that has only affect on the final call to PayPal?
-
Hello everybody I have a Problem with the Paypal Express Checkout (5658). When I am redirected from the checkout_payment.php to the (Sandbox-) PayPal-Website everything seems to be fine: The shipping cost and the total amount are displayed correctly. But after getting back to the checkout_confirmation.php I always have to klick the Submit-Button twice before I get to the checkout_success.php AND the tax of the shipping-cost is missing in the bill of PayPal. My Shop has different modification and even the Shipping-Module is a self-programming on the base of "Table Rate" nevertheless I hope someone can give me a hint to solve this Problem. An Answer to this Questions might be helpful: 1.) Wich part of the Code in express.php or the paypal_express.php is responsible for the final billing-data that is sent to PayPal? 2.) How can I make the final sent billing-data visible (for debugging)? Thank you for any help.
-
Nick-Nick started following PayPal disregards the tax of the shipping-cost
-
Thank you, that was it! Regards Nico
-
Hello I use Auto Feeder 1.2. My Problem: When i set 'SEO_ENABLED' to 'false' i always get the message "Error when connecting itself to the data base". With 'SEO_ENABLED' = 'true' i get a blank page. I have no SEO-Contrib installed and i have tested different configuration-settings and different directiory-paths for the $catalogURL as well. I would be grateful for any support.
-
Hi Todd, This is my code: <td class="infoBoxContent"><form name="process" action="http://localhost:8888/oscommerce/catalog/backstage/availability_configurer.php" method="get" enctype="multipart/form-data" onsubmit="if(this.action[2].checked==true){if(confirm('This will remove all configuration and data items. Are you sure you wish to do this?')){return confirm('Are you ABSOLUTELY SURE you wish to remove all data related to this contribution installation ???');}else{return false;}}"><p>Choose the setup option and click Run Configuration Utility to setup your database.</p><br> <font color=red><b>Please, please <a href="backup.php"><u>backup your database</u></a> before performing this operation.</b></font><br><br><br> <input type="radio" name="action" value="normal" checked id="normal"><label for="normal" style="cursor:hand;cursor:pointer;">Normal Update</label><br> <input type="radio" name="action" value="force" id="force"><label for="force" style="cursor:hand;cursor:pointer;">Force Configuration Defaults</label><br><br> <input type="radio" name="action" value="uninstall" id="uninstall"><label for="uninstall" style="cursor:hand;cursor:pointer;color:#FF0000;">Remove All</label><br><br> <br> <input type="submit" name="submit" value="Run Configuration Utility"><br><br><br> <a href="http://localhost:8888/oscommerce/catalog/backstage/availability_options.php"><img src="includes/languages/german/images/buttons/button_cancel.gif" border="0" alt="Abbruch" title=" Abbruch "></a><br> <br> </form></td> Yes it did! Great! Thank you very much. :D :D Nick
-
I mean, if I select one of the checkboxes and klick "Run Configuration Utility" the page reloades but nothing else happens. The configuration works only if I add the "?action="-path manually to the URL. Yes, i do Yes I have now installed it on a fresh osCommerce-Installation (by copying all files) and the problem still appears! :( Nick
-
Hi, Thank you for your support, but I did not resolve the problem yet. It is the tep_redirect-function in general.php and the tep_db_fetch_array-function in database.php. But I did not make any changes to this functions. The error occurs only in the availability-contibution. The configurer does not work how it should too: The action-path is not added to the URL itsself, it works only if I add the path to the URL manually. So I think I have to search in the contribution-files, but where? Best regards Nick
-
Hi, thank you for this great contrib! I have an error in the admin-tool: If I try to add a new languge to an existing availability-id I get the following error-message: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /Library/Apache2/htdocs/satnam/catalog/backstage/includes/functions/database.php on line 100 Warning: Cannot modify header information - headers already sent by (output started at /Library/Apache2/htdocs/satnam/catalog/backstage/includes/functions/database.php:100) in /Library/Apache2/htdocs/satnam/catalog/backstage/includes/functions/general.php on line 20 Any idea where I have to search for the problem? Regards Nick