Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Portman

Members
  • Posts

    109
  • Joined

  • Last visited

Posts posted by Portman

  1. Hi, I am working on a new phoenix site, but have just realized that my auto update currency in  my live site, which is 2.3.4 is not working. Yet it has only been a few months that it has not worked for ...

    At first I thought it was that my API key had lapsed, but I got that checked and put the link into a browser with my API key and it worked fine... so not sure why its not working... this is the error I am getting in the error log;

     

    PHP Warning:  file(https://xurrency.com/api/gbp/aud/1?key=xxxx): failed to open stream: Connection refused in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 19
    PHP Warning:  implode(): Invalid arguments passed in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 20
    PHP Warning:  Invalid argument supplied for foreach() in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 22
    PHP Warning:  Invalid argument supplied for foreach() in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 29

    if I put the link into a browser this is the response I get:

    {"status":"ok","code":0,"result":{"value":"1.7995","base":"gbp","target":"aud","updated_at":"2020-09-24T00:00:08Z"}}

    So my API Key is working....

    here is the appropriate code from localization.php;

    function quote_xurrency_currency($base, $target = DEFAULT_CURRENCY) {
        if ($target == $base) return 1;	
    
    $base = strtolower($base);
    $target = strtolower($target);
      
        $page = file('https://xurrency.com/api/' . $base . '/' . $target . '/1?key=' . XURRENCY_KEY);
    	$result = implode(",", $page);
    	$result = json_decode($result,true);
    	foreach ($result as $key => $value2) {
    		if ($key == 'code') {
    			if ($value2 != '0') {
    				return false;
    			}
    		}
    }
    	foreach ($value2 as $key2 => $value3) {	
    		if ($key2 == 'value') {
    			$value = $value3;
    		}
    	}
    
        if (sizeof($value) > 0) {
          return $value;
        } else {
          return false;
        }
      }

    It has been so long since I got this to work that I am having trouble working out what the problem could be - I'm obviously not the strongest coder - I can probably solve it with a couple of hours work, but if anyone with a keener eye than mine can see the problem I would really appreciate it.

  2. Hi I’m looking for good options for templates for Phoenix... I have found @burt’s templates, and think one of those will work for me, but just want to know if there are other good options out there... are oscommerce responsive bootstrap  templates any use or are they too much trouble? 
     

    happy to pay a good price for a good template. If anyone can direct me to any sites (assuming that doesn’t break any rules) I’d really appreciate it.

  3. Hi,

    I have installed  the Payway shopping cart plugin - which was supplied by my bank but not actually supported by them for technical help.

    The Payway "trusted frame" set up is server to server - like paypal, where the customer is redirected to the Payway site to make payment then redirected back to the oscommerce site once payment is made.

    Successful transactions seem to work fine.

    However there is a  'return to website' button on their site - if you decide not to use this payment method it is supposed to return you to the shopping cart. however when you use this option it returns you to an empty shopping cart and OScommerce has treated it like a successful order (ie it shows up in order history as pending in both front of house and admin )

    I am hoping someone has come across this issue with payway or similar add on and can give me some tips on how to fix it 

  4. Hi,

    Is there a particular modal Addon that I can add to the main body of my website... rather than in the left or right box or shopping cart type sections.  I have one or two places on my website (one on checkout_confirmation page, and 'Ill probably want to add one on the payment page as well) .... 

    If there is not one for my particular need then what would be the best addon for me to modify (particularly thinking I will need a couple of them operating at once on different pages)

    I am using the most up to date  BS frozen 

     

  5. Hi

    I am using BS Frozen

    I have been doing some modifications to an add-on and I have created a new <function> to the code to make the add-on operate in the way I need it to...

    This has worked fine within the files of the add-on....

    Now I want to call that function (located in catalog/includes/module/store/st_addon.php) in catalog/product_info.php...

    Can I do that? and if so how?

  6. Hi @raiwa

    I have installed your app on a clean install of edge so I can play around with it and make sure it does what I want with it...

    I have come across a problem that makes me think something has gone wrong with my installation... but maybe I am just reading it wrong...

    I am trying to add multiple groups the instructions say;

    Quote

    In admin => Modules => Store => Wholesale => Edit => click edit => Wholesale Groups=> Default: 1

    Number of installed wholesale groups. On first inastallation only one group will be installed by default. If you need more groups, change this setting, save and uninstall the module (make sure Uninstall Removes Database entries is set to false). Then reinstall the module to add the additional database entries for the wholesalre groups.

    but I cannot find any reference to wholesale group numbers in there... here is a screenshot

     screenshot.thumb.jpg.41315d92205b049ac2711eeaa069a758.jpg

    Ill be so grateful if this app can work for my requirements, any help would be appreciated.

  7. hi, I've just installed SPPC 2.3.4 BS GOLD - v1.1b on a fresh install of osc... 

    Ive noticed that when I go to edit a group in customer groups it drops the id number and displays the primary group instead;

    eg ... /catalog/admin/customers_groups.php?page=1&cID=&action=edit

    I can manually put the id number after the cID= bit in the above URL and still access it, but obviously would prefer to not have to.

    Is this a common problem? I cant find any reference to it anywhere and as it is a fresh install and first app added I am wondering if I have done something wrong with the initial install.

  8. Ok... I have updated the paypal app as above and got a sandbox account working on my test site (still nothing on my active site, but that is a problem for another day).

    In the sandbox account however I am still having the same problem that I started this thread with - ie - returning to my site and forcing standard shipping.

    Now that I am back to my original problem... any ideas what I can do?

  9. sorry.. I confused myself, I have done the updates....

    UNFORTUNATELY... thinking that having the two versions of Paypal express on my site may have been causing conflicts I uploaded the New version onto my active site and it has caused some sort of conflict... my Test site and my active site are identical, but when i try to add something to my cart in my active site I get an error (when paypal express is active) but I do the same thing in my test site and get no error... 

    Looking on the error log on the server I think this is the error (sorry dont know this side of things at all);

    [Fri Feb 02 07:58:33.327397 2018] [access_compat:error] [pid 611385] [client 60.224.144.228:60031] AH01797: client denied by server configuration: /home/creativ3/public_html/orders/images/home.html, referer: https://creativeabundance.com.au/orders/index.php?cPath=24

    any thoughts? could having the two paypal modules with the same credentials running cause a conflict? or is it something else?

  10. Hi,

    I cant seem to find a working solution for this anywhere.

    The problem I am having occurs only when the customer is NOT logged into paypal before selecting paypal express as their payment option.

    Here is the general flow of the order process;

    1. - customer finishes their order and selects EXPRESS SHIPPING

    2. - Customer selects paypal extress as payment option

    3. - customer is taken to paypal where they log in and see their order including EXPRESS SHIPPING (I think they can change this to standard shipping at this point, but we are assuming they do not). Customer confirms order on Paypal site.

    4. Customer is sent back to checkout_confirmation.php - where shipping has reverted to STANDARD SHIPPING (with no option to change back to express shipping). Customer confirms order is forced to pay for standard shipping even if they want express.

    both standard and express Shipping modules are based on the zone based shipping modules and work for other payment modules fine 

    Any help would be greatly appreciated...  

     

  11. Hi, 

    I'm looking for a slideshow add-on that I can add to my index page I have done a search and all of the add-ons seem quite old.

    Can anyone tell me if there are any that work well and work with the current version of OsCommerce? or is there a better third party (Free) Slideshow program that is easily integrated?

    Thanks,

    Portman

  12. Hi, I have a problem with the shipping charges on Paypal and was hoping to get some direction on where to look for the solution.

     

    My shipping has 2 options: Standard Shipping (10% of order capped at $13) & Express (20% of shipping capped at $26)

     

    It all seems to work both on the Os commerce side and on the paypal side, however I have recieved a few orders for express shipping via paypal that on my Paypal statement say that they are being charged the $26.00 but  in actuality they are only charged the $13.00 also, the order slip that gets posted to customer and me says that the customer was only charged standard shipping ($13.00) not the $26.00

     

    CAn anyone give me some insight if this is a paypal issue or a oscommerce issue... where should I look for the solution (I am using Paypal express checkout).

  13. Hello everyone,

     

    I have been looking for an addon that will allow me to add a '+ GST' tag after the product price for Australian customers only. but have not had any luck finding anything

     

    I know you can do something similar through currencies in admin, however that puts the tag on any monetary value... so when you get to the invoice you have something like...

     

    Purchases total   $100.00 + GST

    GST                     $  10.00 + GST

    Grand Total          $110.00 + GST

     

    Obviously this is not a good result, hence my need for an addon.

     

    Does anyone know of one?

     

    Thanks

     

    Portman

     

×
×
  • Create New...