lolgc1 Posted September 6, 2018 Report Posted September 6, 2018 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] => ) ) Quote
lolgc1 Posted September 6, 2018 Author Report Posted September 6, 2018 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? Quote
Blesta Addons Posted September 6, 2018 Report Posted September 6, 2018 it should be post not get i think. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.