Developers

Flat
Checking out with API?
User: brynnb
Date: 11/2/2014 5:13 pm
Views: 8875
Rating: 0

I'm looking at the Cart API and I see a property for checkout but not a method to actually call. Once I have items in the cart and a payment/address attached, how do I submit the cart? 

Is there any way to test this API without actually spending money and ordering items? Is there a no-cost item somewhere I can add? I tried making my own and minimum appears to be $0.99 (trying a digital download item).

Re: Checking out with API?
JT
User: JT
Date: 11/5/2014 3:25 pm
Views: 1
Rating: 0

I'm sorry for the delay on this. I was out of town. I'm back now so I'll try to make my responses more quickly going forward.

To check out you must hand off the cart to our checkout system. You'll redirect the user to https://www.thegamecrafter.com/checkout

The reason for this is that there are all sorts of PCI compliance issues if you were to able to check out via our API directly using a credit card. Now, if you can sustain orders of at least $2,000 per month, we do have a method where you can check out using a Purchase Order Number, and then we just send you an invoice. However, most people are not in that camp. 

You must spend money to check out, but you can hit the cancel button on the order to have the money refunded back to shop credit. In this way you can check out over and over using the same money.

Re: Checking out with API?
JT
User: JT
Date: 11/5/2014 3:30 pm
Views: 3
Rating: 0

As to the other questions you sent me via email:

For the Cart in the API, to attach a credit card it says "NOTE: You must be pre-approved to use this method." - Is this something you can enable for me?

Checking out via Credit Card is a method we only use internally. It is not something we can enable for you.

Are there any sort of white-label services you offer so that when a customer receives a package, it could have my business name and branding? 

We do not have any kind of white labeling at this time. In order to do this we would need to have enough customers interested in such a service to warrant the development effort. I'd suggess submitting it to the ideas page.

Re: Checking out with API?
User: brynnb
Date: 11/5/2014 3:42 pm
Views: 3
Rating: 0

Hi JT - thanks for the responses.

The idea was that we would collect payment on our own website for the goods, and then use our own credit card to pay you to ship the item.


An alternate option might be to add items to my own cart and attach the final customer's shipping address? I can have multiple carts at once can't I? I can make a single cart per order on my website, then manually every day come to The Game Crafter and hit submit for every cart. Does that sound like it'd work?

Instead of meeting the $2000 threshold for PO, would it be possible to simply give you a sizeable deposit so that I always have a positive balance with you?

Re: Checking out with API?
JT
User: JT
Date: 11/5/2014 4:00 pm
Views: 2
Rating: 0

That's very interesting. We could definitely work out something where you could check out using shop credit. I wouldn't be able to add that to the system this week, and I'm not sure about next week. But it is something I could add to the system pretty easily. I just have a con and a major project I need to get out of the way before I could add the service you would need. 

In the mean time, here's the API for adding an address to our system:

https://www.thegamecrafter.com/developer/Address.html

And then you attach the address to the cart using the update cart service:

https://www.thegamecrafter.com/developer/Cart.html#Update_Cart

Re: Checking out with API?
User: brynnb
Date: 11/5/2014 4:18 pm
Views: 2
Rating: 0

We had planned to launch in about a month, so if takes two weeks to implemenet that would work for us. We'd be very happy to have that functionality.

To clarify, with your proposed update, we'd be able to check out using only the API if we had shop credit? Not having to manually come submit every cart?

Thanks again for all your help JT!

Re: Checking out with API?
JT
User: JT
Date: 11/5/2014 4:48 pm
Views: 424
Rating: 0

That is correct. It would work like this:

You would have the user buy whatever they need to buy on your site. Going through your full checkout process. Your code would then use our API to place an order. Your code would be able to complete the checkout process by paying with shop credit. Therefore, no human intervention would be required, and your customer would never see The Game Crafter's web site.

Re: Checking out with API?
User: brynnb
Date: 11/5/2014 3:56 pm
Views: 2
Rating: 0

Also I'm sort of confused about the white label answer, the help section for the API says this:

"We have created a robust set of APIs to allow developers to do amazing things like creating game uploaders, using TGC as a private label service, integrating our site with yours, and creating alternate interfaces to the shop."

Did you mean something else by private label service? It's typically synonymous with white label.

Re: Checking out with API?
JT
User: JT
Date: 11/5/2014 4:02 pm
Views: 22
Rating: 0

We have companies using our APIs to automatically generate printed materials through their sites (much the way you want to do). However, we do not do private labeling the way you mean where we would put your logo and address info on the shipping packages. I think that's what you were asking. Please correct me if I'm wrong. 

Re: Checking out with API?
User: Pebbles
Date: 11/9/2014 8:14 am
Views: 800
Rating: 0

You're on the right track JT. I'm working with brynnb on this one and it'd be awesome if we could just completely white label this baby.

Failing that, would we at least be able to get the packages sent 'as gift' so that we don't charge our customer one price and then have Gamecrafters send them a package containing an invoice with a lesser amount on it?

It would be nice if our customers didn't know what our margins were :)

PreviousNext