Jump to content

Recommended Posts

Posted

Hi.

I want to create the link for a invoice, the paypal link, i tried something but i have no clue if its even the right function


$response = $api->get("services", "getBuildProcess", array('contact_info' => array('client_id' => $client_id), 'amount' => 1000, 'currency' => 'DKK', 'invoice_amounts' => array(349)));

 

I get

stdClass Object ( [error] => stdClass Object ( [message] => The requested resource does not exist. [response] => ) )

Posted

I got so far now:


$response = $api->get("payments", "getBuildProcess", array('contact_info' => array('id' => $brugerinfo->contact_id, 'client_id' => $client_id, 'user_id' => $brugerinfo->user_id, 'contact_type' => 'email', 'contact_type_id' => 1, 'first_name' => $brugerinfo->first_name, 'last_name' => $brugerinfo->last_name, 'title' => $brugerinfo->title, 'company' => $brugerinfo->company, 'address1' => $brugerinfo->address1), 'amount' => 5, 'currency' => 'dkk', 'invoice_amounts' => array(249), 'options' => array('description' => 'description', 'return_url' => 'return_url', 'recur' => array('start_date' => $today, 'amount' => 30, 'term' => 1, 'period' => "month"))));
 

 

I get

stdClass Object
(
    [paypal_payments_standard] => Array
        (
            [0] => 
	

 

Its just blank?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...