Author Topic: Credit Card Surcharge  (Read 30919 times)

mariusvr

  • Beginner
  • *
  • Posts: 7
Re: Credit Card Surcharge
« Reply #15 on: September 18, 2006, 15:32:26 pm »
This hack does not automatically register users with Paypal. It only send the name and address to paypal (together with pricing information, to whom payment should be make, etc).

This hack is more convient for users, so they don't have to fill out their name and address twice (once in virtuemart and once in Paypal)

Cheers, Marius

Shibumi

  • ** on hiatus **
  • Moderator
  • Full Member
  • *
  • Posts: 591
  • if it aint broke, there must be something wrong
    • Shibumi Design Studios
  • VirtueMart Version: 2.0.20b
Re: Credit Card Surcharge
« Reply #16 on: September 19, 2006, 00:44:54 am »
Ahh! I get you now ;)  My mistake in thinking otherwise - very well done!
Jeff
=================================================
Scionergy.com - www.Scionergy.com
Scion Owners Club of Ottawa - www.ScionOwnersClubOttawa.ca
Capital Door Service - www.CapitalDoorService.com - VM2.0.20b, Joomla 2.5.11 PHP5.2.11 powered site

mariusvr

  • Beginner
  • *
  • Posts: 7
Re: Credit Card Surcharge
« Reply #17 on: September 19, 2006, 03:31:41 am »
The hack to send the name and address info to Paypal wasn't mine, as I got it from a Paypal thread on this forum.

The hack to include a surcharge for credit card payments was mine however. I just combined the two and posted it here for your convienience.

Cheers, Marius

budionoali

  • Beginner
  • *
  • Posts: 4
Re: Credit Card Surcharge
« Reply #18 on: March 22, 2010, 12:44:43 pm »
Hi,

Just wondering how do you apply the below code?

$db4 = new ps_DB;
$db4->query("UPDATE #__vm_orders SET order_total = ".round( (($db->f("order_subtotal")+$tax_total-$discount_total)*1.024)+0.3, 2) ." WHERE order_id='".$db->f("order_id")."'");

azizi47

  • Beginner
  • *
  • Posts: 2
    • Watch Movies
Re: Credit Card Surcharge
« Reply #19 on: April 17, 2010, 23:46:07 pm »
Online payments are always tricky... and the laws add more confusion.
A question that sometimes drives me hazy: am I or are the others crazy?
Albert Einstein

Hotels & Travels | Currency Rates | Watch Movies | Pakistan News

azizi47

  • Beginner
  • *
  • Posts: 2
    • Watch Movies
Re: Credit Card Surcharge
« Reply #20 on: April 17, 2010, 23:48:55 pm »
Online payments are always tricky... when it comes to laws of different countries.

___________________

A question that sometimes drives me hazy: am I or are the others crazy?
Albert Einstein

Hotels & Travels | Currency Rates | Watch Movies | Pakistan News
A question that sometimes drives me hazy: am I or are the others crazy?
Albert Einstein

Hotels & Travels | Currency Rates | Watch Movies | Pakistan News