Jump to content

Generate link for invoice


lolgc1

Recommended Posts

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] => ) )

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...