Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

Subscription refund: Stripe Refunds API Charge ID or Payment Intent missing

1 week 20 hours ago - 1 week 19 hours ago #341567 by webmasterACA
Dear support,

I used CB Subs => payments => button ‘refund’ to refund a payment.
Fill in the amount + select option ‘finale and last refund… etc’ + fill in a reason for refund.
Click ‘refund’ button, and get an error:’submitted refund request didn’t return an error but didn’t complete’.
The CB Subs Log has an entry
“stripe Stripe Refunds API Charge ID or Payment Intent missing.“
Tried to add screenshots for more details, but that fails allthe time.

I have CBSubs 4.8.1 and Stripe plugin 4.8.1 installed.

Please advise,
Roland
Attachments:
Last edit: 1 week 19 hours ago by webmasterACA. Reason: added screenshots of the error and error log entry

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
5 days 37 minutes ago #341576 by krileon
Did the payment come from a version different from 4.8.1? There were some big API changes in Stripe so refunding payments made before 4.8.1 in 4.8.1 may fail at CBSubs due to being unable to locate the charge for the payment and you'll need to do the refund at Stripe instead.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

4 days 23 hours ago #341578 by webmasterACA
The payment was done only 6 days ago, on july 22.
I don't know where I can verify when I exactly installed Stripe 4.8.1. It was installed with CBSubs 4.8.1.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
4 days 22 hours ago #341579 by krileon
Is the payment from a single payment or recurring payment? Plan type (e.g. subscription, merchandise, donation)? Please also provide what payment method was used (e.g. stripe checkout, visa, sepa, etc..). For now you'll need to issue the refund from your Stripe dashboard though and then manually cancel their subscription in CBSubs. I'm guessing this was a recurring subscription since those use Invoices and getting the payment intent or charge id from an invoice is tricky (I've been back and forth with support to improve this in their API).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

4 days 18 hours ago #341581 by webmasterACA
It’s a single payment. Not recurring.
It’s a (new) merchandise plan.
Payment method used is ‘hosted checkout’.

Maybe this is usefull information also: I see in the CB Subs log that each and every succesfull payment via Stripe cause also this error:
’stripe Stripe IPN fraud attempt. ERROR: signature **value left out by me in this topic** returned by Stripe does not match the value we expected’. I checked in detail the stripe log, there is no sign of this. All these payments are processed correctly by CB Subs and the merchandise plan correctly activated.

This last error message in detail:
Code:
Call trace: called in class cbpaidHistory::logError() on line 571 in file cbpaidPayHandler.php called in class cbpaidPayHandler::_setLogErrorMSG() on line 3132 in file cbpaidsubscriptions.stripe.php called in class cbpaidstripeoem::handleNotify() on line 126 in file cbpaidCreditCardsPayHandler.php called in class cbpaidCreditCardsPayHandler::resultNotification() on line 680 in file cbpaidsubscriptions.stripe.php called in class cbpaidstripeoem::resultNotification() on line 743 in file cbpaidControllerCBTab.php called in class cbpaidControllerCBTab::getTabComponent() on line 1155 in file cbpaidsubscriptions.php called in class getcbpaidsubscriptionsTab::getTabComponent() on line 92 in file cbpaidControllerCBComponent.php called in class CBplug_cbpaidsubscriptions::getCBpluginComponent() on line 879 in file cbPluginHandler.php called in class cbPluginHandler::call() on line 1611 in file cbTabs.php called in class cbTabs::_callTabPlugin() on line 1725 in file cbTabs.php called in class cbTabs::tabClassPluginTabs() on line 732 in file comprofiler.php called in function tabClass() on line 284 in file comprofiler.php ...

Table affected
Notifications

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
3 days 22 hours ago #341585 by krileon

It’s a single payment. Not recurring.
It’s a (new) merchandise plan.
Payment method used is ‘hosted checkout’.

Thank you, will look into checkout refunds to see if there's a problem locating charges for those.

I see in the CB Subs log that each and every succesfull payment via Stripe cause also this error:
’stripe Stripe IPN fraud attempt. ERROR: signature

That's the webhook verification process. That generally means "Stripe webhook Signing Secret" is not set correctly in your CBSubs Stripe Gateway. Please be sure it's set correctly otherwise webhooks will be rejected.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum