how to access items within the basket

5 days 15 hours ago #315574 by activha
That won't work well. For instance manual refund have no parent_txn_id

I was thinking about using reason_code ? Do you have a defined list for this field ?
5 days 14 hours ago #315577 by krileon
What do you mean manual refund? Are you refunding from within CBSubs or from within the payment gateway? In all cases parent_txn_id should be set to the transaction it's refunding. reason_code is typically only used for storing API response reasons and isn't used in most gateways so it's of no use for what you're trying to do. You'd use payment_status if you're just trying to check if it's a refund or not since payment_status should be set to Refunded or Partially-Refunded for partial refunds.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
5 days 14 hours ago #315582 by activha
OK I think we made something usable for Invoice Manager
It is lacking some options to cover the use of invoice template in case of a refund (in our case we use template #3 for credit notes) and it could be enhanced but it does the main job
Hope it could help someone or maybe a starting point for you

File Attachment:

File Name: cbsubsinvo...ager.zip
File Size:6 KB


Thanks for the help
Attachments:
Moderators: beatnantkrileon
Time to create page: 0.405 seconds
Facebook Twitter Google LinkedIn