laravel-paystack icon indicating copy to clipboard operation
laravel-paystack copied to clipboard

Paystack Payment Page Redirection Issue

Open balakumarcgvak opened this issue 1 year ago • 7 comments

controller home-blade-code Route-page Paynow-submit

Hi,I completely integrated the "laravel-paystack" file package in my project; I added the public and secret keys properly in the.env file and also added a callback URL in the Paystack Payment dashboard. Once I tried to click the "Pay Now" button, I was not redirected to the Paystack payment page. I attached screenshots for your reference and help on this issue.

Thankyou  Balakumar

balakumarcgvak avatar May 29 '23 12:05 balakumarcgvak

Have you added the public key and secret key, to the env file?

goodmuyis avatar Jun 04 '23 09:06 goodmuyis

Hi Team,

We have properly added the public key and secret key in the env file and also added the callback URL in the Paystack dashboard. Please review the attached screenshot for your reference.

Thankyou Balakumar

On 2023-06-04 02:52, goodmuyis wrote:

Have you added the public key and secret key, to the env file?

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/unicodeveloper/laravel-paystack/issues/173#issuecomment-1575495172 [2] https://github.com/notifications/unsubscribe-auth/A6RT7ERLX7WZV5F3SXTONP3XJRLHPANCNFSM6AAAAAAYSWUFKQ

balakumarcgvak avatar Jun 05 '23 10:06 balakumarcgvak

@balakumarcgvak The screenshot does not provide enough information that will show the error you are getting. In your PaymentController.php add dd($e->getMessage()); before the return statement (line 22), and you will be able to figure out what the issue was. post the error here as well let's check.

Sometimes, it does happen that one might forget to update you .env file online, only the local code was updated

goodmuyis avatar Jun 05 '23 10:06 goodmuyis

Hi Team,

As per your suggestion, we added the following code in the controller file: I'm getting this error (403); review the attached file and help on this issue.

Thankyou Balakumar

On 2023-06-05 03:47, goodmuyis wrote:

@balakumarcgvak [1] The screenshot does not provide enough information that will show the error you are getting. In your PaymentController.php add dd($e->getMessage()); before the return statement (line 22), and you will be able to figure out what the issue was. post the error here as well let's check

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/balakumarcgvak [2] https://github.com/unicodeveloper/laravel-paystack/issues/173#issuecomment-1576559520 [3] https://github.com/notifications/unsubscribe-auth/A6RT7ERMG56DNKIN3HABCXLXJW2LJANCNFSM6AAAAAAYSWUFKQ

balakumarcgvak avatar Jun 06 '23 10:06 balakumarcgvak

https://www.google.com/search?q=laravel+error+403

At this point, I am sorry I can help you if you are not willing to get the issue resolve. It looks like trolling when you kept repeating review the attached file

goodmuyis avatar Jun 06 '23 17:06 goodmuyis

Hi Team,

Thank you for your suggestions and support. We have fixed the redirection issues, and it is properly working. The test payment was loaded successfully.

Thankyou  Balakumar

On 2023-06-06 10:44, goodmuyis wrote:

https://www.google.com/search?q=laravel+error+403

At this point, I am sorry I can help you if you are not willing to get the issue resolve. It looks like trolling when you kept repeating review the attached file

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/unicodeveloper/laravel-paystack/issues/173#issuecomment-1579200825 [2] https://github.com/notifications/unsubscribe-auth/A6RT7ETE3TUDHMTIX3N3JW3XJ5UABANCNFSM6AAAAAAYSWUFKQ

balakumarcgvak avatar Jun 07 '23 11:06 balakumarcgvak

i'm facing same 403 issue. please tell me the soultion

samimaken avatar Aug 09 '23 07:08 samimaken