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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
4 days 9 hours ago #341587 by krileon
Was not able to confirm any issues refunding Stripe Checkout payments. For that payment in CBSubs > Payments what does the "Txn id" begin with (do not provide the full transaction number only the prefix!)? It should begin with ch_ or in_.


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 9 hours ago #341590 by webmasterACA
in CBSubs > Payments what does the "Txn id" begin with: => 'py_' like all other payments of a single plan (I checked dozens of similar payments I received since 6/2024).

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
4 days 8 hours ago #341593 by krileon
It should not be py_ as that's an old payment source identifier. Within your Stripe account please update your Stripe API version for the account and for your webhook. Sounds like you maybe on a very old version. We unfortunately cannot version Stripe Checkout API calls so it's dependent on your Stripe account.


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.

3 days 15 hours ago - 3 days 15 hours ago #341599 by webmasterACA
Stripe API version: I changed it in Stripe around 6 weeks ago to the latest version for my 3 CBSubs gateways (the one on this website, 2 others on another website I manage with CBSubs)

"Stripe webhook Signing Secret" => I did update this yesterday on this Stripe gateway.
- The "stripe Stripe IPN fraud attempt. ERROR: " is gone now.

I see all 6 transactions so far since that change yesterday, start with "py_" => you wrote before that py_ shouldn't be used as it is an old payment source identifier due to an old Stripe API version... ? I see it being used on and off with "ch_" also on my other website, which has the newest API in use as well and where I updated the webhook when I switched the API version.
Last edit: 3 days 15 hours ago by webmasterACA. Reason: added ch_ still being used on other website as well where I have no errors

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
3 days 13 hours ago #341600 by krileon
It's possible it's based off the payment method the user used at Stripe checkout. Will review their API and implement support for py_ payments in refunds. Very strange those are not coming through as ch_.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
3 days 13 hours ago #341601 by krileon
It's not documented, but looks like py_ can come through as the payment id if they use non-card payments. Please check what payment method they used within your Stripe dashboard. Will contact development support as this is undocumented so I'm not sure how to treat the refund right now.


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