close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

e-cart in Australia

Thread began 4/20/2011 1:34 am by welcomcat385026 | Last modified 5/14/2011 1:15 am by welcomcat385026 | 2285 views | 18 replies |

welcomcat385026

e-cart in Australia

I have no joy to use e-cart in Australia. Paypal Website Payment Pro is not available here.
I do not get much support in Forum about issues.

Immediate issue is "currency". Unless I use checkout wizard with paypal website payment pro, I cannot find where I can change currency code from "USD" to "AUD". I tried "insert checkout form" and changed provider>edit>currency from "USD" to "AUD" I still ended up with the paypal page with $USD .Is there any way out with this issue?
Also is it possible to have multiple checkout pages with one shopping cart? My aim is "money goes to different Paypal A/C holders depending on purchaser's postcode."

Sign in to reply to this post

Dave BuchholzBeta Tester

Hi,

I have written several eCart sites now for australian clients all using PayPal Standard as the payment gateway and had no problem getting the cart to recognise AUD

On your confirm page look for a hidden form element called currency_code and change it's value to AUD rather than the standard USD

With regard to your second question that would take a fair bit of custom coding to achieve and I can see logistical issues in terms of tracking orders etc.
You might be better having separate "shops" as subdomains i.e. mygreatshop.mydomain.com, myothershop.mydomain.com etc. but if you lay out your business plan you might get better suggestions

Sign in to reply to this post

welcomcat385026

Currency problem

Thank you very much. USD was changed to AUD successfully. I still have a headache with how I am going to work out with multiple checkout pages for each payment gateway.
Australia has a tough reseller, franchise law and one shopping cart cannot collect all the money from resellers sales, etc. etc. because of superannuation and tax and stuff.
Best regards,

Sign in to reply to this post

Dave BuchholzBeta Tester

No worries, I would suggest you contact a local accountant or business forum and ask about your issue as far as multiple resellers goes.

Sign in to reply to this post

welcomcat385026

multiple checkout pages for one shopping cart

Hi Dave,
I also posted the question to Paypal X.com and I got an answer as follows. I start working on it now. Thanks!

In the code that your cart script sends to PayPal, it is the value you pass
for 'business' that determines where the payment should go to.

So you can have a script on your end that will dynamically change this value
as shown in the example below before posting to PayPal.

<input type="hidden" name="business" value="seller_email@paypal.com
(mailto:seller_email@paypal.com)">

You can find a list of the standard variables here
(DOC-1332)if needed.

Sign in to reply to this post

welcomcat385026

Originally Said By: welcomcat385026
  Hi Dave,
I also posted the question to Paypal X.com and I got an answer as follows. I start working on it now. Thanks!

In the code that your cart script sends to PayPal, it is the value you pass
for 'business' that determines where the payment should go to.

So you can have a script on your end that will dynamically change this value
as shown in the example below before posting to PayPal.

<input type="hidden" name="business" value="seller_email@paypal.com
(mailto:seller_email@paypal.com)">

You can find a list of the standard variables here
(DOC-1332)if needed.  

I found "business" in confirm.php page. Postcode is variable and when the particular value is placed, it triggers action to go to one of confirm.php pages.Is that right? So postcode gets inserted in checkout.php which provides billing information. So where do I put PHP code to allocate a customer to particular confirm.php page? I am only a designer and not really good at coding. Can anybody help this?

Sign in to reply to this post

Jason ByrnesWebAssist

use this code for the business tag to set it dynamicly based on the post code:

php:
<?php
          $ppBusiness 
"";
          switch(isset(
$_POST['postcode'])?$_POST['postcode']:"") {
              case 
"12345":
                
$ppBusiness "one@one.com";
                break;
            case 
"678910":
                
$ppBusiness "two@two.com";
                break;
            default:
                
$ppBusiness "default@default.com";
                break;
              
          }
          
?>
          <input type="hidden" name="business" id="business" value="<?php echo($ppBusiness); ?>" />
Sign in to reply to this post

welcomcat385026

Originally Said By: Jason Byrnes
  use this code for the business tag to set it dynamicly based on the post code:
php:
<?php

          
ppBusiness "";
          switch(isset(
$_POST['postcode']?$_POST['postcode']:"") {
              case 
"12345":
                
$ppBusiness "one@one.com";
                break;
            case 
"678910":
                
$ppBusiness "two@two.com";
                break;
            default:
                
$ppBusiness "default@default.com";
                break;
              
          }
          
?>
          <input type="hidden" name="business" id="business" value="<?php echo(ppBusiness); ?>" />
  

Thank you and I'll send a reply as soon as everything works out OK. (work disturbed by Easter Holiday)

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

Sign in to reply to this post

welcomcat385026

Parse error in confirm.php page

I set up 2 business account with PayPal. (took for a while) and reprogrammed "confirm.php" as follows:

<td><input type="hidden" name="business" id="business" value="<?php echo(ppBusiness); ?>" />
<?php
$ ppBusiness = "";
switch(isset($_POST['postcode']?$_POST['postcode']:"") {
case "4211":
$ppBusiness = "prf@generalincentives.com";
break;
case "4220":
$ppBusiness = "info@generalincentives.com";
break;
default:
$ppBusiness = "prfl@generalincentives.com";
break;

}
?>

When I press checkout button in "confirm.php", the following error occurs:

Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /homepages/22/d343726250/htdocs/gi/testshop/confirm.php on line 256

*Line 256 is $ ppBusiness = "";

My test site URL : shop.php

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...