News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Authorization and capture payment action in PayPal

Started by giannispsar, January 29, 2010, 09:49:01 AM

Previous topic - Next topic

giannispsar

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

Ok. I have found the solution. just place in extra info text in paypal configurarion tab, paymentmethod = authorization :-))

kimfro

Could some please provide a solution sample for this problem. I can't get it to work.

jeorcal

<?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

but I get an error on payoal's website : the object format is not good