Search the Community
Showing results for tags 'express'.
-
Hi - hoping someone can help with this one. what looks like overnight, the paypal payment option on our shops have stopped working (we have two shops, each on their own domain) the customer could select paypal on the checkout_payment page, but when clicking continue it sends them back to the shopping cart. After a little investigation, it appears the issue is happening during the verifying of the SSL certificate that the issue is happening, as when we change this check to false, the checkout process completes without an issue. When testing the SSL connection we get the following message: cURL Version: 7.62.0 cURL SSL Version: OpenSSL/1.0.2k Default Setting: Failed TLS v1.2: Failed A connection to PayPal could not be made using TLS v1.2. Please consult with your hosting provider to upgrade the cURL version that is installed with your PHP web server to support TLS v1.2 connections. This must be performed by June 30, 2017 otherwise connections will continue to fail. We have spoken to our hosting company, requesting confirmation what versions of TLS, cURL and PHP but as yet have found nothing that would explain the sudden change. Has anyone experienced a similar issue? Or have a little more knowledge on the paypal module that could suggest something that could cause this issue? PHP version 7.1 TLS capable of TLSv1.2 or higher connections Osc Version v2.3.4 PayPal App v5.018 Thanks in advance
-
I'm looking for recommendations as to whether to use PayPal Express or Standard, or both on my site. I have standard running for about 4 weeks and I see it's worth it. I'd love to hear opinions on this.
-
I was testing the PP Express module in sandbox mode on my local server. The checkout process works well and payment can be made. Order gets registered all is fine. Except for some small issue with the redirect. After I payed at PayPal with a domestic address/account I get redirected to the checkout_confirmation page. After I payed at PayPal with a "international" address/account I get redirected directly to the checkout_success.php I find it kinda weird that depending on address/account the redirect is different. Any clues as to why that happens? Running PayPal Express v3.1 Running osC 2.3.4 BS
-
I was testing the PayPal Express payment module and encountered some issues when using German language address or names or product names with special characters in it. These encoding issues have been fix by the community but they are spread around in multiple topics so I thought it might be helpful for others to have all fixes in one place. PayPal Account Setting Go to "My Account" -> "Profile" -> "My selling tools" -> "PayPal button language encoding" Then setup Your website's language: Western European Languages (including English) click the "more options" button and set Encoding to UTF-8. Below where it says "Do you want to use the same encoding for data sent from PayPal to you (e.g., IPN, downloadable logs, emails)?" tick the "Yes" checkbox. Click "Save" and logout of your PayPal account. Gergely added nice images that explain it visually how to do it. http://www.oscommerce.com/forums/topic/397700-utf-8-in-payments-standard/?p=1702922 Encoding fix This fix is by courtesy of @@raiwa he gave the key to the solution posted then later by @@HansTatt. Thanks guys! :thumbsup: Inside the ext/modules/payment/paypal/express.php file look for this code $item_params['L_PAYMENTREQUEST_0_NAME' . $line_item_no] = $product['name']; and replace with $item_params['L_PAYMENTREQUEST_0_NAME' . $line_item_no] = utf8_decode($product['name']); then look for this code $params['PAYMENTREQUEST_0_SHIPTONAME'] = $order->delivery['firstname'] . ' ' . $order->delivery['lastname']; $params['PAYMENTREQUEST_0_SHIPTOSTREET'] = $order->delivery['street_address']; $params['PAYMENTREQUEST_0_SHIPTOCITY'] = $order->delivery['city']; $params['PAYMENTREQUEST_0_SHIPTOSTATE'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']); $params['PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE'] = $order->delivery['country']['iso_code_2']; $params['PAYMENTREQUEST_0_SHIPTOZIP'] = $order->delivery['postcode']; and replace with this $params['PAYMENTREQUEST_0_SHIPTONAME'] = utf8_decode($order->delivery['firstname']) . ' ' . utf8_decode($order->delivery['lastname']); $params['PAYMENTREQUEST_0_SHIPTOSTREET'] = utf8_decode($order->delivery['street_address']); $params['PAYMENTREQUEST_0_SHIPTOCITY'] = utf8_decode($order->delivery['city']); $params['PAYMENTREQUEST_0_SHIPTOSTATE'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']); $params['PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE'] = $order->delivery['country']['iso_code_2']; $params['PAYMENTREQUEST_0_SHIPTOZIP'] = $order->delivery['postcode']; Reference Topic: http://www.oscommerce.com/forums/topic/397165-paypal-standard-not-emptying-basket/?p=1714514 That's it.
-
Hi folks, Hit a slight problem with transactions with more than one item quantity. The installation (v2.3.1) this is on has some issues with the tax implementation, but I'm not quite sure what the purpose of the following piece of script is in the paypal express script (ext\modules\payment\paypal\express.php). $nProd = sizeof($order->products); $subtotal = 0; for ($i = 0; $i < $nProd; ++$i) { $subtotal += $paypal_express->format_raw($order->products[$i]['final_price']) * $order->products[$i]['qty']; } $difst = 0; if ($subtotal != $paypal_express->format_raw($order->info['subtotal'])) { $difst = $paypal_express->format_raw($order->info['subtotal']) - $subtotal; } $order->products[$nProd - 1]['final_price'] += $difst; Can anyone explain the purpose of this? I'm not quite sure why the script seems to be comparing the order subtotal to an aggregate product total, and then offsetting the last item by that difference? Many thanks, Baps.
-
Hello, I tried using the Paypal Express Checkout 1.0 add on you can see here: http://addons.oscommerce.com/info/7333 On step 2 of the instructions I don't understand what I need to do. See below text in red: 2) remove "checkout with paypal" button from shopping cart page : comment below code found in paypal_express.php in includes/modules/payment: function checkout_initialization_method() { global $language; if (file_exists(DIR_FS_CATALOG . 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif')) { $image = 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif'; } else { $image = 'ext/modules/payment/paypal/images/btn_express.gif'; } $string = '<a href="' . tep_href_link('ext/modules/payment/paypal/express.php', '', 'SSL') . '"><img src="' . $image . '" border="0" alt="" title="' . tep_output_string_protected(MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_BUTTON) . '" /></a>'; return $string; } Where exactly do I go to remove "checkout with paypal" button from shopping cart page? And what do they mean by "comment" below code? I am a bit of a novice at this so if someone could give me simple step by step instructions on what to do, I'd really appreciate it. Thanks
-
PayPal Express Dropping Addresses on return to confirmation page
seanmccabe posted a topic in PayPal
Hi All, I have setup www.munchcupboard.com/store on behalf of a client and we have run into an issue with the completion of sales. We had to set up the site with an additional contribution so that we could do shipping costs based on States. When you go through the checkout process, it displays the shipping address, calculates cost based on State and Weight, and gets you to select a method. Continuing on from this selecting the payment method as PayPal express (either by the button or the normal checkout flow), with the billing address visible it takes you to the PayPal payments page. I understand its normal to enter all the billing information. Would be great if there was a way that OSCommerce based the billing address automatically on to paypal though? Anyway, once this is done, and you return to the confirmation page, the billing address is blank, along with the shipping address. Because of this, the shipping cost is then removed, and the customer can proceed without paying any shipping, and obviously our invoices/packaging slips are blank because all the information is missing. This does not happen when we select Bank Transfer (provided by another contribution). I assume this is because the site isn't left. I have searched through the forum for a fix to this, and have found many people with similar problems, but can't find a resolution to this particular problem. Any and all help would be really appreciated! -
I am looking to integrate the Paymate Express Payment Module into my OSCommerce Website. I have researched high and low, but just cannot seem to find anything that will help me get started. Does anyone know where I can download the latest Paymate Express Payment Module for OSCommerce, and also how to integrate that download into the OS Commerce Admin area...the last I saw was from 2007! Thank you so much as I have become very frustrated in my travels and need some fresh intellect to bail my frazzled wits out!