Git Product home page Git Product logo

Comments (9)

usmangurowa avatar usmangurowa commented on September 24, 2024

@AltaRosso were u able to find a workaround?

from react-paystack.

usmangurowa avatar usmangurowa commented on September 24, 2024

This issue was open almost a year ago, i think it should be given some attention.

from react-paystack.

AltaRosso avatar AltaRosso commented on September 24, 2024

@usmangurowa I don't remember how I did it exactly but if I remember correctly, I changed the background colour of that page. Try that.

from react-paystack.

usmangurowa avatar usmangurowa commented on September 24, 2024

Not sure i follow, changed the background color of the current page i am using the paystack on? Care to share like a code snippet or something?

from react-paystack.

AltaRosso avatar AltaRosso commented on September 24, 2024

I'll try to retrieve the project. I stopped working on it, a year ago. I'll share once I get it up and running.

from react-paystack.

usmangurowa avatar usmangurowa commented on September 24, 2024

Okay, thanks.

from react-paystack.

AltaRosso avatar AltaRosso commented on September 24, 2024

@usmangurowa Could you please share your code snippet. It might help jog my memory.

I managed to get the project running - see screenshot:
Screenshot 2024-02-22 231528

from react-paystack.

AltaRosso avatar AltaRosso commented on September 24, 2024

@usmangurowa I think I got it - it seems like I ended up using the API https://paystack.com/docs/api/transaction/#initialize

const params = JSON.stringify({ //other fields ... email: user.email, callback_url: "http://localhost:3000/paystack/payment", }); await axios.post("https://api.paystack.co/transaction/initialize", params, { headers, }) .then(async (response) => { console.log(response.data.data); })

The response includes the authorization url, which is the checkout page.

Let me know if this works for you.

from react-paystack.

usmangurowa avatar usmangurowa commented on September 24, 2024

@AltaRosso thanks man, will give it a try.

from react-paystack.

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.