The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Add one time surcharge to shipping logic
Author Message
Reply with quote
Post Add one time surcharge to shipping logic 
I have Agora 5.0.006 (updated from v4) at www.wasabikids.com.au/shop and use the following custom shipping logic
# This will add custom freight based on quatity of items
@sc_shipping_logic = ( "||1-2||5.30",
"||3-1000||10.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

I also use the offline order form and have plagiarized your radio button code to get my users method of payment. What I wish to do is add $2 to the total shipping cost if the user selects Visa or Mastercard for (Ecom_Payment_Card_Type).

Any help much appreciated.
KC

View user's profile Send private message
Reply with quote
Post  
KC,
If you are doing that in an attempt to recover your merchant fees, I can tell you right now that it would be a violation of the VISA/MC agreement...
They do not allow for you to charge the customer to use their credit card...

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thanks for that, I will confer with the owner. and revert.
KC

View user's profile Send private message
Reply with quote
Post  
Hello again
Seems that the practice of adding a surcharge is OK in Australia. Even some major utilities charge you to pay your bill by credit card. The user will be advised of the charge so I feel comfortable with it.
Can you point me in the right direction to apply the charge ? It's a once off so I can't see using Agora's built in surcharge working (out of the box) I did have an idea after posting the original question that perhaps I could have a sales item called "Credit Surcharge" and have the radio button code programmatically add it to the cart. Thanks again
KC

View user's profile Send private message
Reply with quote
Post  
Honestly, I'm not sure where you would start with that...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Can you help me with how to programmatically add an item to the cart ? I could make the user click a button to accept the charge which then added the charge (ias an item)
I should be ok from there.
KC

View user's profile Send private message
Reply with quote
Post  
It would have to be added before the checkout process. It can't be done once they enter the checkout.


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum