We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have added the redirect_url to the config like this;
const redirectUrl = window.location.path + WATCH + '/' + singleEvent.event.sessionId + '/' + singleEvent.event.sessionToken; const config = { PBFPubKey: process.env.REACT_APP_RAVE_PUBLIC_KEY, customer_email: this.props.auth.user.email, customer_phone: '', amount: singleEvent.event.eventPrice, currency: 'UGX', redirectUrl: redirectUrl, txref: singleEvent.id, production: true, payment_options: [ 'card', 'mpesa', 'mobilemoneyghana', 'mobilemoneyuganda', 'mobilemoneyrwanda', 'mobilemoneyzambia', 'mobilemoneytanzania', 'barter'], onSuccess: () => {}, onClose: () => console.log('Closed this transaction!!!'), }
When I run the payment, it succeeds but it doesn't redirect to that page, which is what the user is paying to access.
Any help? I'm using class components.
The text was updated successfully, but these errors were encountered:
@BarnaTB the key is redirect_url.
redirect_url
https://github.com/iamraphson/react-ravepayment/blob/master/libs/types.ts#L43
Sorry, something went wrong.
@segun-paystack Thanks for your response. I've changed that to redirect_url but it still doesn't redirect. Anything that I could be doing wrong?
No branches or pull requests
I have added the redirect_url to the config like this;
When I run the payment, it succeeds but it doesn't redirect to that page, which is what the user is paying to access.
Any help? I'm using class components.
The text was updated successfully, but these errors were encountered: