Pre-populating information on the billing page

168 views
Skip to first unread message

George

unread,
Mar 6, 2012, 6:53:44 AM3/6/12
to shopi...@googlegroups.com
I am looking for Prepopulating some information in the Billing page like 'Your Contact Email, First Name, Last Name' as I collect them in my remote site and would like not to reenter from the customer.

I have a html snippet in my site which redirects directly to the billing page. My html snippet looks like this

<form action="http://<MyShopifyName>.myshopify.com/cart/add" method="post">
  <input type="hidden" name="id" value="<ID>" />
  <input type="hidden" name="return_to" value="/checkout" />
  <input type="submit" value="BUY NOW" />
</form>

I really appreciate any help on this.

Thanks

George 

David Underwood

unread,
Mar 6, 2012, 11:43:55 AM3/6/12
to shopi...@googlegroups.com
Hi George,

I'm 99% sure that this isn't possible. Our checkout has some fairly heavy security surrounding it and should effectively be considered a black box from a merchant/app perspective.

-David Underwood
 Developer Advocate, Shopify

Edward Ocampo-Gooding

unread,
Mar 6, 2012, 11:47:43 AM3/6/12
to shopi...@googlegroups.com
A better way to handle this would be to create customer accounts for them with that information already and then log them in, but unfortunately the API doesn’t have support for this behaviour yet. We are however working on it.

Edward Ocampo-Gooding
Developer Advocate, Shopify

Joel Van Horn

unread,
Mar 18, 2012, 9:57:40 AM3/18/12
to shopi...@googlegroups.com
Hi,

I've just integrated the Shopify API in a third-party website and want users that already have accounts on our website to be able to have a seamless checkout experience. Right now I've setup guest checkout, but it still requires the user's email. Is there any other way to make this more customizable? 

Thanks!


On Tuesday, March 6, 2012 11:47:43 AM UTC-5, Edward Ocampo-Gooding wrote:
A better way to handle this would be to create customer accounts for them with that information already and then log them in, but unfortunately the API doesn’t have support for this behaviour yet. We are however working on it.

Edward Ocampo-Gooding
Developer Advocate, Shopify


wik

unread,
Mar 19, 2012, 7:56:09 AM3/19/12
to shopi...@googlegroups.com
Yes, there is a tools like mechanize[1] with the help of which you could prepopulate step #1 of checkout and then redirect users right to the step #2
But be aware of potential maintenance issues, because mechanize will bring you out of Shopify API responsibility.

Joel Van Horn

unread,
Mar 24, 2012, 5:07:46 PM3/24/12
to shopi...@googlegroups.com
I figured this out. You can pre-populate the checkout form. It's actually pretty easy once you know how things work. I just wrote a blog post about it. Let me know if this is helpful. Thanks!

Josh Boddiford

unread,
Mar 24, 2012, 5:45:08 PM3/24/12
to shopi...@googlegroups.com
Awesome post Joel!  

Thanks so much for all the great details... this kind of undocumented feature list really helps someone like me who's new to the Shopify world.

Josh

Dave

unread,
Mar 24, 2012, 8:07:23 PM3/24/12
to shopify-api
Great little write-up there Josh. Easy to follow recipe and addresses
a need a lot of people have.

Thanks

On Mar 24, 5:45 pm, Josh Boddiford <j...@boddiford.com> wrote:
> Awesome post Joel!
>
> Thanks so much for all the great details... this kind of undocumented
> feature list really helps someone like me who's new to the Shopify world.
>
> Josh
>
Reply all
Reply to author
Forward
0 new messages