hivewallet / hiveapp-all4btc

Hive application for all4btc
2 stars 1 forks source link

Unable to buy from amazon and ebay #2

Open weilu opened 10 years ago

weilu commented 10 years ago

Getting 404s for API calls to all4btc. @w-hive can you get in touch with their team to follow up on the status of their API?

ghost commented 10 years ago

Made a post here, we'll see what happens https://bitcointalk.org/index.php?topic=226891.0;all

Others are complaining about other aspects of this service, so we may have to drop this app if it is no longer being supported.

phillux commented 10 years ago

hey this is Phil from all4btc. we have gone through many necessary upgrades and had to move a lot around. after taking care of customer support issues that backed up, we'd love to be a part of this beautiful app again.

weilu commented 10 years ago

@phillux Can you link us to the documentation for your current API?

pscTheOne commented 10 years ago

Not much of a API documentation to speak of. One can submit a request to https://all4btc.com/p/anywhere with the following mandatory URI encoded fields.

full_name <- Mandatory, address_line1 <- Mandatory, address_line2 <- Has to be included in the request but can be empty, city <- Mandatory, state <- Mandatory, postal_code <- Mandatory, country_code <- ISO 3166-1 alpha-2 two letter country code, product_url <- valid url, notes <- notes and additional products. Has to be included in the request but can be empty, price <- price in currency using "." as decimal mark, shipping_price <- shipping price in currency using "." as decimal mark, currency <- ISO 4217 3-letter currency code, email <- Mandatory, mail_check <- mandatory true or false, whether to add e-mail address to our mailing list or not, tos_check <- mandatory true

Example:

curl 'https://all4btc.com/p/anywhere' --data 'full_name=phil&address_line1=Jessnerstr.+18&address_line2=&city=Berlin&state=-&postal_code=10247&country_code=DE&product_url=http%3A%2F%2Fwww.amazon.de%2Fgp%2Fproduct%2FB00F3288RC%2Fref%3Ds9_simh_gw_p147_d19_i2%3Fpf_rd_m%3DA3JWKAKR8XB7XF%26pf_rd_s%3Dcenter-2%26pf_rd_r%3D0QJSM6JPWYX0MFWH0DSA%26pf_rd_t%3D101%26pf_rd_p%3D455353807%26pf_rd_i%3D301128&notes=&price=1&shipping_price=2&currency=EUR&email=phil%40bitcoinsberlin.com&x=70&y=18&mail_check=true&tos_check=true'

Returns a redirect to https://all4btc.com/invoice?id=???? where one can pay the bitpay invoice, and give feedback/request support on said order.

Kind Regards The other Phil from all4btc

pscTheOne commented 10 years ago

A small change on our page introduced the mandatory tos_check field. I have updated the above comment to reflect this.

ghost commented 10 years ago

@pscTheOne @phillux Would you guys mind patching the app yourselves?

pscTheOne commented 10 years ago

@w-hive I will have a look at it. Thanks for the cool app.