GithubHelp home page GithubHelp logo

Comments (14)

aurelienshz avatar aurelienshz commented on August 16, 2024 3

Hi! The fix has been deployed yesterday (CEST) on our backend servers. I think the bug is no longer occurring on our end. Let me know if you're still experiencing an issue with onIncompletePaymentFound. In the meanwhile, I'll close this issue. Feel free to reopen it if you're still encountering the bug.

from pi-platform-docs.

aurelienshz avatar aurelienshz commented on August 16, 2024 2

@Sten435 Currently, you can't do anything with a pending payment that has no transaction. I hope that the Core Team will provide a solution to continue or cancel a payment using its identifier.

Yup, that's a confirmed bug on our side. onIncompletePaymentFound should NOT be called with a payment for which the user has not made any blockchain transaction. We have a fix on the way, I'll post updates here when it's deployed. Apologies for the inconvenience this caused.

from pi-platform-docs.

lahgolz avatar lahgolz commented on August 16, 2024 1

@Sten435 Currently, you can't do anything with a pending payment that has no transaction. I hope that the Core Team will provide a solution to continue or cancel a payment using its identifier.

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024 1

@Sten435 at the moment there is no way to continue a payment that has not been approved. You will need to call createPayment again to get into the payment flow. You can manually complete a payment but not approve

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

You can use the get payment API endpoint to load the payment by the identifier if needed this will return a PaymentDTO

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

@dannybutterfield1880 Can I chat with you on discord, I have some questions...

StanKoffieMan#1772

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@Sten435 of course you can

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

@Sten435 of course you can

Would you add me on discord?
StanKoffieMan#1772

from pi-platform-docs.

dannybutterfield1880 avatar dannybutterfield1880 commented on August 16, 2024

@Sten435 done

from pi-platform-docs.

lahgolz avatar lahgolz commented on August 16, 2024

@Sten435 This is normal. In fact, if there is a pending/incomplete payment, it means that the transaction didn't take place, so there is no transaction id for a non-existent transaction, that's why the transaction property of the returned PaymentDTO is null.

from pi-platform-docs.

Sten435 avatar Sten435 commented on August 16, 2024

But i need it to call /complete? To finish the ongoing payment?

from pi-platform-docs.

roghayehkharazmi avatar roghayehkharazmi commented on August 16, 2024

salehkharazmi

from pi-platform-docs.

roghayehkharazmi avatar roghayehkharazmi commented on August 16, 2024

hello

from pi-platform-docs.

roghayehkharazmi avatar roghayehkharazmi commented on August 16, 2024

🖐

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.