Closed chrischen closed 9 years ago
Its pretty easy. All you need to do is in the Payment
object submit your PartnerBillingKey
.
Note that you do not need to track and sum and submit the order/item totals when the item is on credit.
See: https://api.print.io/docs/#!/orders/POST_post_1 and http://print.io/api
Where do I get the partnerbillingkey?
On Mar 7, 2015, at 4:26 AM, Micah Smith notifications@github.com wrote:
Its pretty easy. All you need to do is in the Payment object submit your PartnerBillingKey.
Note that you do not need to track and sum and submit the order/item totals when the item is on credit.
See: https://api.print.io/docs/#!/orders/POST_post_1 https://api.print.io/docs/#!/orders/POST_post_1 and http://print.io/api http://print.io/api — Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/9#issuecomment-77687310.
Sometimes the sales reps give it as the API_KEY
, did you receive this?
Yes. I received an API_KEY and recipe id.
On Mar 7, 2015, at 4:27 AM, Micah Smith notifications@github.com wrote:
Sometimes the sales reps give it as the API_KEY, did you receive this?
— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/9#issuecomment-77687364.
Use the API_KEY for that value. You'll be all good.
I used the API key and submitted in Payment object as PartnerBillingKey.
I get back: {u'HadError': True, u'Errors': [{u'PropertyName': u'Partner Billing Key', u'ErrorMessage': u'Invalid key', u'AttemptedValue': None, u'CustomState': None}], u'ErrorReferenceCode': u'0274071b-c167-48ca-b920-a117dfbde16c'}
EDIT: I didn't add item total. EDIT: Added Total value but same error. Does it give that error if the total amount is not correct?
I have a credit card on file with you guys. How do I submit the API call to place an order without submitting payment info?