printdotio / printio-api

Issues + wiki for the api. See http://print.io/api
0 stars 0 forks source link

PartnerBillingKey error #15

Closed chrischen closed 9 years ago

chrischen commented 9 years ago

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'}

Added Total value but same error. Does it give that error if the total amount is not correct?

micahasmith commented 9 years ago

It means your partner billing key is incorrect. Can you paste in an example of what your POSTing (except with a diff private key, of course)

AustenB commented 9 years ago

Chris - I just emailed you your live billing key to confirm you are using the right one

On Thu, Mar 12, 2015 at 2:50 PM, Micah Smith notifications@github.com wrote:

It means your partner billing key is incorrect. Can you paste in an example of what your POSTing (except with a diff private key, of course)

— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/15#issuecomment-78565266 .

Austen Bernstein Founder & CEO printio

chrischen commented 9 years ago

Payment": { "PartnerBillingKey": "1B4/TVurRc+PZbHjrirBjienE5B84Gke2GzOr1=", # fake dev key "Total": 12.5 }

chrischen commented 9 years ago

Sorry, the issue was for some reason I was testing the calls on the production endpoint.

Do I have to send the exact Total amount of the order? What if your prices change?

On Mar 12, 2015, at 11:52 AM, Austen Bernstein notifications@github.com wrote:

Chris - I just emailed you your live billing key to confirm you are using the right one

On Thu, Mar 12, 2015 at 2:50 PM, Micah Smith notifications@github.com wrote:

It means your partner billing key is incorrect. Can you paste in an example of what your POSTing (except with a diff private key, of course)

— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/15#issuecomment-78565266 .

Austen Bernstein Founder & CEO printio — Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/15#issuecomment-78566129.

micahasmith commented 9 years ago

orders on credit do not need amount passed