Jump to content
lolgc1

Generate link for invoice

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

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×