Comments (9)
@AltaRosso were u able to find a workaround?
from react-paystack.
This issue was open almost a year ago, i think it should be given some attention.
from react-paystack.
@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.
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.
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.
Okay, thanks.
from react-paystack.
@usmangurowa Could you please share your code snippet. It might help jog my memory.
I managed to get the project running - see screenshot:
from react-paystack.
@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.
@AltaRosso thanks man, will give it a try.
from react-paystack.
Related Issues (20)
- OnSuccess & OnClose Function not working HOT 7
- Security Vulnerabilities With Package HOT 6
- Add disabled prop to PayStackButton HOT 2
- Paystack with sanity.io
- TypeScript support HOT 1
- Subscription Start Date HOT 1
- Could not resolve dependency npm install error HOT 1
- onSuccess not accepting props HOT 3
- Ok
- Passing payment options
- The `invoice.update` event isn't getting called in webhook HOT 1
- How do I properly set it up on Next Js HOT 3
- Cannot load paystack inline script when using SharedArrayBuffer
- pass in access code to either Popup or Button to retrieves the transaction details, HOT 3
- Error when initialising paystack HOT 1
- Export Currency to be accessed by users
- Google Tag Inclusion in Package HOT 1
- why is the amount calculated in kobo HOT 4
- Version 5.0.0m not compatible with react 18.2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-paystack.