Author

Topic: deleted (Read 811 times)

hero member
Activity: 546
Merit: 500
October 24, 2016, 08:06:57 AM
#11
Okay, i up this post. But i need to explain why that doesn't actually doesn't works.
When i started project, i used the XapoCreditAPI, that using the API v1. But... Xapo API v1 is now deprecated, so we can't use it.
Now, only the Xapo API v2 is usable. But it is very hard to use it.
Because our goal is to "send satoshi" or create a transaction with a small amount of bitcoin. For this, Xapo API v2 has a function called "Create a transaction", BUT, it need Wallet ID (the wallet that contain satoshi), and i have the Wallet ID. After, it need a AuthKey (Xapo App ID + Xapo Secret in Base64 encode). And same thing, i have the AuthKey, but now the problem is i can't create transaction... The message is "Unauthorised".
And there is a another strange thing, the exemple of "Create a transaction" says it's a POST function. but it use POST + GET + HEADERS  Huh POST and GET has the same parameters Huh
Create a transaction (Xapo API Docs)

Edit:
Small update, now SolveMedia works.
And the CSS issue is fixed too.
All you need to do is ask the Xapo API developers for the proper code. My faucet has mix version of the API, v1 for the payment processing and address validation courtesy of Gifted who's freely distributed the xapo faucet script and version 2 for getting my wallet balance courtesy of Xapo developers.
member
Activity: 78
Merit: 10
October 24, 2016, 07:26:23 AM
#10
Okay, i up this post. But i need to explain why that doesn't actually doesn't works.
When i started project, i used the XapoCreditAPI, that using the API v1. But... Xapo API v1 is now deprecated, so we can't use it.
Now, only the Xapo API v2 is usable. But it is very hard to use it.
Because our goal is to "send satoshi" or create a transaction with a small amount of bitcoin. For this, Xapo API v2 has a function called "Create a transaction", BUT, it need Wallet ID (the wallet that contain satoshi), and i have the Wallet ID. After, it need a AuthKey (Xapo App ID + Xapo Secret in Base64 encode). And same thing, i have the AuthKey, but now the problem is i can't create transaction... The message is "Unauthorised".
And there is a another strange thing, the exemple of "Create a transaction" says it's a POST function. but it use POST + GET + HEADERS  Huh POST and GET has the same parameters Huh
Create a transaction (Xapo API Docs)

Edit:
Small update, now SolveMedia works.
And the CSS issue is fixed too.
hero member
Activity: 546
Merit: 500
October 21, 2016, 07:34:08 PM
#9
Wait...

I thought this is free, I didn't noticed that the "payment" you are saying in the OP is payment for the script. Though the script seems still in beta phase. But it also seems that the script is completely different from the other xapo faucet script.
Anyway, goodluck to your business and since you are selling it, this thread should not be here in Micro Earnings. May be it should be in Services or Selling section.
full member
Activity: 238
Merit: 100
October 21, 2016, 02:24:44 PM
#8
Yes I have the same error after claiming


member
Activity: 78
Merit: 10
October 21, 2016, 12:48:01 PM
#7
Ohhh ! I understand why payments doesn't works :O
Xapo use email and my script use a BTC Address Validator.
So an email isn't a address. SO the request fail !

I fix this asap !

Edit: Pfff... It's not entirely this error. I got a log :


Edit 2 : Better ...
member
Activity: 78
Merit: 10
October 21, 2016, 12:31:12 PM
#6
Ok guys...

First, SolveMedia.
Fixed, but i need a working account to test :/

Second, Referral.
Almost finish.

Third, CSS issues.
Fixed, easy Cheesy

Last thing, Pay error.
Not fixed, with BTC address it show "payment error", but with email it's white screen Sad

I'll keep you informed !
Regards, Spl0it
full member
Activity: 238
Merit: 100
October 21, 2016, 09:40:25 AM
#5
Is there solvmedia support ?

Ok no solvemedia support - maybe in future ?  Wink - also no referral commision ?

So lets start with the two issues.

The first small thing is in the default css file where input color is "white !important" - thats not so good because you will not see the entered emailadress I changed that to "black !important".

The next big thing that I cant solve by myself is - after entering the xapo-email and solve the captcha and press the claim button a blank screen appears -
I tryed with php 5.6 and php 7 also I double checked the Xapo API keys and the google captcha keys - they are all right - also i looked into my Webserver Error Log but cant find anything.

So have you an idea ?

you can see it online at http://xapo.cryptocrawl.in

full member
Activity: 238
Merit: 100
October 21, 2016, 08:24:53 AM
#4
Is there solvmedia support ?
member
Activity: 78
Merit: 10
October 21, 2016, 07:55:02 AM
#3
Ok, no problem. I will setup a live website Smiley
It's a beta and it's the reason why there is not a admin panel. For moment there is only .ini files
hero member
Activity: 546
Merit: 500
October 21, 2016, 06:42:33 AM
#2
It's great to know that you create a faucetbox and xapo faucet script. I like to try your script, but first, do you have a live sample of the script. I just want to see how it looks and works on users/claimers side.
member
Activity: 78
Merit: 10
October 21, 2016, 05:17:58 AM
#1
deleted
Jump to: