-
Posts
963 -
Joined
-
Last visited
-
Days Won
18
Posts posted by John W
-
-
Yes, it does get rates on the fly from the Fedex API and is normally pretty quick, but can take up to 2 seconds or so. I don't think it's being triggered. At least I have an idea where to look though. I'm wondering if I can put an safety catch in checkout_confirmation.
-
Update: I decided to try it with a flat cost shipping and that is getting added in so the problem is how my Fedex module using dimensional support is loading. Now that I know where the problems lies, I'll figure out what's going on. Not sure why I didn't think of this sooner. When I figure this out I'll post in the main paypal thread in case anyone else hits this problem.
-
This is a great contribution! I noticed some errors on Google's Structured data tool, so I experimented around with and I got them cleared. Mainly it wanted position for each item in the list. I only changed the conent/index. Try my file below and see what you think. The tool still shows one error, but Google help says it's a false positve.
-
Thanks for trying Scott and Jack. I'll figure it out.
-
I upgraded to 5.018 by pulling it off of github.
-
Everything else works perfectly. I use A.net forever and paypal standard works well. I'll have to pour through this more in the future, but my checkout_confirmation doesn't have much modded off hand.
Dimensional weight applies to using a packing routine (from UPS XML that I've modified) with Fedex so I send box dimensions, but I don't think tha't s what the problem is. I'll work at this harder in the next week or so. Since I haven't done anything wiht the paypal app until recently, I'm not familiar.
When I solve this, or if I do, I'll post my findings.
-
@@greasemonkey I only offer one shipping option, so that part is simple, but it's not being added in at checkou_confirmation in Scenario 1 or 2 with your settings. In fact, in scenario 1 with (instant update OFF & in context enabled) it doesn't add tax in when it should either. Scenario 2 adds tax, but neither are adding shipping.
-
I must have something modified that's causing the problem. I downloaded 5.018 from Github and I'm still not getting shipping returned no matter what combinations I try. I get low order added on and tax, but not shipping. I'll dig into this more later today.
-
I've seen some of the discussions on shipping, but I must be missing something. I like the idea of express, but I'll need to solve shipping. I realized after I my initial post that having both would be a stupid idea.
-
Is 5.018 going to be posted on the addons section for download? I have 5.010 but it doesn't update. I run php permissions of 600 and 755 on folders.
Also, Standard works well, but Express doesn't add in shipping unless I cycle back through checkout. I know customers won't do that. Any ideas where i can look, or what i can do?
-
I followed the settings you mentioned in your referenced thread, but I may have some shipping modifications that are causing an issue. I have a packing routine and I quote dimensional weight.
-
I'm running into the problem of shipping not added to total when you come back to the order_confirmation page. Do you know what I'm doing wrong?
-
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.
-
Okay, thanks!
-
Actually, after trying your code, it still didn't identify Googlebot. Ip 66.249.64.191 is one of those for Googlebot.
-
At one time, I remember there was a security issue with who's online, which caused some changes to be made. I don't remember exactly when or what though.
-
After years of dealing with having to change permissions on newly uploaded files from 664 to lower (I use 600 on php) I finally found how to change the umask for sftp on my server. Apparently, this is how Cpanel is set up because it's discussed in their forums. Someone posted the solution for SFTP in the SSHD config. I still have to change the php file permissions, but at least folders are automatically set at 755 and files at 644. I believe CPanel will be changing the default when using suPHP.
Using Beyond Compare to connet to the server I can easily set the file mask to only show php files then sort by permissions, so it's easy to find files and folders with too loose of permissions.
-
I got an email from Google merchant today about getting customer reviews, so I decided to do it. I added this to template_bottom.php and you will need to have your merchant account from Google to make this work. You also have to agree to terms. My code also uses US so change to your country but this works as planned.
<?php if (basename($PHP_SELF) == 'checkout_success.php') { $dt = new DateTime(date(" Y-m-d")); $dt->modify("+10 days"); $delivery_date = $dt->format("Y-m-d"); $email_address_query = tep_db_query("select customers_email_address from customers where customers_id = '" . (int) $customer_id . "'"); $email = tep_db_fetch_array($email_address_query); $email_address = $email['customers_email_address']; ?> <!-- BEGIN GCR Opt-in Module Code --> <script src="https://apis.google.com/js/platform.js?onload=renderOptIn" async defer></script> <script> window.renderOptIn = function() { window.gapi.load('surveyoptin', function() { window.gapi.surveyoptin.render( { "merchant_id": Your merchant number, "order_id": "<?php echo $order_id ?>", "email": "<?php echo $email_address ?>", "delivery_country": "US", "estimated_delivery_date": "<?php echo $delivery_date ?>" }); }); } </script> <!-- END GCR Opt-in Module Code --> <?php } ?>
From Google:
How to enable Google Customer Reviews
1)
Sign in to your Merchant Center account
2)
Select "Merchant Center programs" from the 3-dot-menu in the upper right-hand corner.
3)
Click "Get Started" in the Google Customer Reviews card and accept the Program Agreement.
4)
Add the survey opt-in code to your website.
5)
[Optional] Add the badge code to your site wherever you want. This will make the badge appear on your site and show customers that you're integrated with Google Customer Reviews (and what your seller rating is).
-
The addons in http://addons.oscommerce.com/ are free, but some people do some on the side that they sell. Member Burt, real name Gary, has some inexpensive addons that are well worth the price. There are some others that do some. If you need something you can ask in the commercial support forum.
-
The fedex module pulls prices from the fedex site and will produce current quotes. The addon works but doesn't factor dimensional weight if you ship light items. It can be modified for that though.
-
Here's how I modified mine for the invoice number. Right before the line
$params = array('x_login' => substr(MODULE_PAYMENT_AUTHORIZENET_CC_AIM_LOGIN_ID, 0, 20),
add
// A.NET INVOICE NUMBER FIX // find the next order_id to pass as x_Invoice_Num $inv_id = tep_db_query("select orders_id from " . TABLE_ORDERS . " order by orders_id DESC limit 1"); $last_inv = tep_db_fetch_array($inv_id); $next_inv = $last_inv['orders_id']+1; // END A.NET INVOICE NUMBER FIX
then you'll need to add this somewhere in the array
'x_Invoice_Num' => $next_inv,
And that will transmit the invoice number.
-
MOst of my pages are updated to BS gold or newer. All the checkout pages are at that level.
-
Are you thinking about having that like a check/money order module?
-
The server OS sets the level of encryption possible and you can test your ssl at https://www.ssllabs.com/
2 Minute Testers Required
in Add-Ons Development
Posted
I used FB to login and had no errors or problems.