Author Topic: Authorization and capture payment action in PayPal  (Read 3544 times)

giannispsar

  • Beginner
  • *
  • Posts: 5
Authorization and capture payment action in PayPal
« 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?

giannispsar

  • Beginner
  • *
  • Posts: 5
Re: Authorization and capture payment action in PayPal
« Reply #1 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 :-))

kimfro

  • Beginner
  • *
  • Posts: 3
Re: Authorization and capture payment action in PayPal
« Reply #2 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.

jeorcal

  • Jr. Member
  • **
  • Posts: 181
Re: Authorization and capture payment action in PayPal
« Reply #3 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,

jeorcal

  • Jr. Member
  • **
  • Posts: 181
Re: Authorization and capture payment action in PayPal
« Reply #4 on: January 28, 2011, 13:35:12 pm »
but I get an error on payoal's website : the object format is not good

VirtueMart Forum

Re: Authorization and capture payment action in PayPal
« Reply #4 on: January 28, 2011, 13:35:12 pm »