GithubHelp home page GithubHelp logo

Comments (17)

lahgolz avatar lahgolz commented on August 16, 2024 4

@Sten435 in Pi Wallet, I just created another wallet.

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

What do you get if you output the response of Pi.authenticate()? It seems like you are getting passed that call.

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

@dannybutterfield1880
I get this (i cut some sensitive info out)

Screenshot_20210702-213515.jpg

But i get this error also, and i don't know what it means...

Screenshot_20210702-213453.jpg

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

Make sure you are passing the txid to the body of the /complete request

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

complete post

This is my /complete post request using axios. You can install that using npm i --save axios then import it at the top of the javascript file using import axios from 'axios'

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

Does not resolve the issue.

from pi-platform-docs.

lahgolz avatar lahgolz commented on August 16, 2024

@Sten435 are you using a rooted/jailbroken phone? I installed a custom OS on my phone, had the same error and a CT dev told me that the transaction system with the SDK doesn't work with rooted/jailbroken phones.

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@B-Derouet I am using it on a rooted device and not having any problems at all

from pi-platform-docs.

lahgolz avatar lahgolz commented on August 16, 2024

@dannybutterfield1880 I didn't rooted my device either, just changed the OS. One thing that bothers me is that on Pi Browser, it doesn't ask for my wallet passphrase (and it doesn't work), but on a browser on my computer, it does ask me for my wallet passphrase and the payment works...

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@B-Derouet is that an issue you are having with all pi apps? I'm not having an issue in the pi browser, it asks me for my wallet address and everything is fine. Also, how do you get it working in a normal browser?

from pi-platform-docs.

lahgolz avatar lahgolz commented on August 16, 2024

@dannybutterfield1880 ok, I reset my wallet and now it's working. Don't know how or why... And for normal browser, this is very tricky...

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@B-Derouet Take a look at this repo for when you are using a normal browser https://github.com/gradosevic/pi-mock it just mocks the responses from the pi SDK then when you come to the pi browser it will work perfectly, also I found you can check for the pi browser by using navigator.userAgent.includes('PiBrowser')

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@Sten435 I got this error when I wasn't passing the txid to the body of the POST request to /complete

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

Im not using a rooted device.

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

@dannybutterfield1880 ok, I reset my wallet and now it's working. Don't know how or why... And for normal browser, this is very tricky...

How did you reset it?

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

@B-Derouet @dannybutterfield1880
Thanks, resetting my wallet fixed the error!

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@Sten435 awesome! πŸ‘

from pi-platform-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.