Forum Replies Created
-
AuthorPosts
-
December 29, 2020 at 6:50 pm in reply to: Litecoin transaction not showing up in user’s account. #9691d3vnu77Participant
Fixed, all is working now, there was a curl error and rerunning the curl notification url imported the transaction
December 2, 2020 at 11:56 am in reply to: Push notifications for the mobile wallet app we are building. #9527d3vnu77ParticipantHello,
So with the mobile app, we would like to have the user PIN or Bio verify identity so that transactions in the marketplace we are building it for are fast and instant if you move between friends and not have to check your email each time.
Is there a place we can hook into your code and change the default behavior of the user confirm functionality to make it a little more custom.
d3vnu77ParticipantEmailed you in this regard.
d3vnu77ParticipantSorry for the delay, took a nice Thanksgiving holiday.
Yes, it is on a multisite installation. Yes, it is network activated.
d3vnu77ParticipantSorry i have fixed it, i was doing /wallets/api3/get_transactions/BTC/3/3 not knowing that i added 3 as offset (that’s where to start from) and i dont have upto three transactions
d3vnu77ParticipantPlease sir, this endpoint /wallets/api3/get_transactions/SYMBOL/COUNT/FROM is not displaying my transactions
d3vnu77ParticipantYea i used a library for the QR Code, thanks for your reply anyways.
d3vnu77Participanti think i found the solution for the QR Code, will get back to you if it didnt work, thanks.
d3vnu77Participantthe authentication is not working in react native and postman but i figured another method to approach the authentication, thanks anyways….
I have another question: please where/how can i get the QR Code, that’s which api holds the QR Code?d3vnu77ParticipantHi, please you mentioned something like “user-specific key”, can that be gotten from the jwt authentication or is there another way of getting the user key?
d3vnu77ParticipantWont let me post…wordfence is blocking me, so see the image I posted…
Found the bug, is this an acceptable solution?
Attachments:
You must be logged in to view attached files.d3vnu77ParticipantPurely my fault… I was running the ./2ACoind without binding to the outside ip address and port.
This is resolved.
d3vnu77ParticipantI can confirm that adding the following code:
function wallets_turtlecoin_adapter_filter( $coins ) { $coins['ARMS']['amount pattern'] = '%01.8f'; $coins['ARMS']['decimals'] = 8; error_log(print_r( $coins, true )); return $coins; } add_filter( 'wallets_turtle_coins', 'wallets_turtlecoin_adapter_filter' );
1. The method gets called
2. The $coins variable does get changed, based on the debug.log output.
3. The change has NO effect on the decimal placement that gets inserted into the database.The only way to make it work at the moment is to change the following code from a 2 to an 8:
public function get_decimal_places() { return 8; }
I think that you have a bug in your code that causes it to only use what this function outputs, I’m going to try to bring my wallets back up on my site using this fix. Do you mind double checking your code to see if that is the case for me when you get a chance?
d3vnu77ParticipantNot a problem! Glad we could get the the bottom of this.
so I changed the line to :
$tx->created_time = date('Y-m-d H:i:s', $tx->created_time );
in transactions.php: action_wallets_transaction() method line 911
$address_map->created_time = date('Y-m-d H:i:s', $address_map->created_time );
in transactions.php: action_wallets_address() method line 1169
I can confirm, this fixed the issue.
d3vnu77ParticipantI am not changing your code, just outputting variable into the error log so I can see what is going on…
in wallets/includes/transactions.PHP : action_wallets_transaction()
I see you run this code to get it to MYSQL format, where you convert it to a string here… as mentioned above…
if ( is_numeric( $tx->created_time ) ) { $tx->created_time = date( DATE_ISO8601, $tx->created_time ); } error_log(print_r( $tx, true ));
I echoed that to the debug.log and noticed that the string it is creating has an extra T & +0000… is that supposed to be there, see attached image.
When I try to insert that into the DO MYSQL I also get zero dates
Attachments:
You must be logged in to view attached files. -
AuthorPosts