Deffe Posted October 17, 2012 Share Posted October 17, 2012 Hi Im using the api(addorder) and Im able to select payment option if I only add domains. But if I add a domain and a service it results in that the order Always becomes a samport creditcard payment even though I select invoice. Here is two outputs of the respective arrays: This is the one that always results in Samport (CC) even though I select invoice: Array ( [action] => addorder [clientid] => 111 [clientip] => 11.111.111.111 [paymentmethod] => invoice [domain[0]] => asdf.se [eppcode[0]] => [domaintype[0]] => register [regperiod[0]] => 1 [pid[0]] => 1 [billingcycle[0]] => annually ) This is the one that works but Only with 1 domain otherwise I will get Samport CC always: Array ( [action] => addorder [clientid] => 1111 [clientip] => 11.111.111.111 [paymentmethod] => invoice [domain[0]] => asdf.se [eppcode[0]] => [domaintype[0]] => register [regperiod[0]] => 1 ) I also tried to add [paymentmethod[0]] => invoice into the array to see if I had to add the payment options for each and every service but that resulted in that the api did not accept the order at all. this is the mentioned example that did not work either: Array ( [action] => addorder [clientid] => 1111 [clientip] => 11.111.111.111 [paymentmethod] => invoice [domain[0]] => asdf.se [eppcode[0]] => [domaintype[0]] => register [regperiod[0]] => 1 [pid[0]] => 1 [billingcycle[0]] => annually [paymentmethod[0]] => invoice ) how do I solove this? What am I missing, and why is it selecting samport (cc) even though my array clearly states that it should use invoice 0 Quote Link to comment Share on other sites More sharing options...
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.