gbozee / pypaystack

A django reusable app for integrating Paystack into your application
MIT License
51 stars 39 forks source link

on_payment_verified #14

Open dera1992 opened 4 years ago

dera1992 commented 4 years ago

Please, i cant get "on_payment_verified" function to work after payment

Fawaz441 commented 4 years ago

Yes, the verify_payment function where the signal is being sent requires 'request=request'

dera1992 commented 4 years ago

ok, thanks for the reply. How can i add 'request=request'. Thanks.

austinogiza commented 4 years ago

I also have the same issue, how can I add request=request for the user @Fawaz441

ajadi473 commented 4 years ago

Thanks for the tutorial, it was much helpful.

However, can i have a clue as to how to make the details gets stored in the transaction history table or where can i write the save function? I know some code to this effect was writen at the webhook, but it's not storing the data still

austinogiza commented 4 years ago

hello @Fawaz441 , can you help out

Fawaz441 commented 4 years ago

pay in paystack/views.py

ajadi473 commented 4 years ago

pay in paystack/views.py

Thanks for this,

I got it working to this point unfortunately after a successful payment, i couldn't output the any json data just as it is in this picture attached.

What should I do or is it a webhook thing? paymentsuccess

Fawaz441 commented 4 years ago

You have json installed?

ajadi473 commented 4 years ago

yes i do

ajadi473 commented 4 years ago

could it be because i am using the test api secret and public keys from paystack and not the live api public keys

austinogiza commented 4 years ago

@Fawaz441 is it possible if I can contact you bro

bgreatfit commented 4 years ago

@Fawaz441 is it possible if I can contact you bro, austinogiza@gmail.com..

Hi, I am having namespace issue with paystack