Stripe checkout webhook failed

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128402 by Trevor Smith
Stripe checkout webhook failed was created by Trevor Smith
Hi

I have set up the webhook as per the readme.txt:

I have also set the signing secret.

The webhook fails with a 500 error:
Code:
Call to undefined method os_stripecheckout::verifyPayment()

Am I missing something?

Best regards
Trevor
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #128404 by Mr. Dam
Replied by Mr. Dam on topic Stripe checkout webhook failed
Hi Trevor,
I am sorry, the Webhook url should be:
domain.com/index.php?option=com_jdonatio...ent_method=os_stripe
(Of course, need to replace domain.com/ with your website url)

Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128405 by Trevor Smith
Replied by Trevor Smith on topic Stripe checkout webhook failed
Thanks Dam it seems to be working in test mode, I will try a live test in the morning.

regards
Trevor

Please Log in or Create an account to join the conversation.

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128412 by Trevor Smith
Replied by Trevor Smith on topic Stripe checkout webhook failed
Hi Dam

I have made a live transaction and in the Stripe console has reported that the webhook was successful and the payment has been received but the donation is not listed in JDonation.

I am using checkout.session.completed event type, is that correct?

regards
Trevor

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #128413 by Mr. Dam
Replied by Mr. Dam on topic Stripe checkout webhook failed
Hi Trevor,
Could you please submit ticket on category: Joom Donation and provide your site url with super admin account. I will check the problem with Stripe payment gateway for you.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128487 by Trevor Smith
Replied by Trevor Smith on topic Stripe checkout webhook failed
For anyone following this thread the webhook that worked was:
Code:
URL: https://domain.ext/index.php?option=com_jdonation&task=recurring_donation_confirm&payment_method=os_stripecheckout Event types: checkout.session.completed

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt