VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: giannispsar on January 29, 2010, 09:49:01 AM

Title: Authorization and capture payment action in PayPal
Post by: giannispsar on January 29, 2010, 09:49:01 AM
I am making a site where clients will be able to buy only one item. I do not want to charge them for s apecific time period (actually clients will be charged only after a specific number of clients is gathered). For this reason i want to use the authorization payment action that paypal offers for delayed captured funds. I have not found out how i can use it (the authorization option) in the PayPal method that is integrated in VM.
Has anybody used it? Could someone give me a hint?
Title: Re: Authorization and capture payment action in PayPal
Post by: giannispsar on January 31, 2010, 20:04:30 PM
Ok. I have found the solution. just place in extra info text in paypal configurarion tab, paymentmethod = authorization :-))
Title: Re: Authorization and capture payment action in PayPal
Post by: kimfro on December 04, 2010, 12:24:15 PM
Could some please provide a solution sample for this problem. I can't get it to work.
Title: Re: Authorization and capture payment action in PayPal
Post by: jeorcal on January 28, 2011, 13:33:30 PM
<?php
$url = "https://www.paypal.com/cgi-bin/webscr";
$tax_total = $db->f("order_tax") + $db->f("order_shipping_tax");
$discount_total = $db->f("coupon_discount") + $db->f("order_discount");
$post_variables = Array(
"cmd" => "_ext-enter",
"redirect_cmd" => "_xclick",
"paymentaction" => "authorization",
"upload" => "1",
"business" => PAYPAL_EMAIL,
"receiver_email" => PAYPAL_EMAIL,
Title: Re: Authorization and capture payment action in PayPal
Post by: jeorcal on January 28, 2011, 13:35:12 PM
but I get an error on payoal's website : the object format is not good