Skip to main content
4 votes

How to perform a Chargent partial refund in apex

Partial refund via the UI is supported as part of your subscription. Let me clarify a statement in your question, you do not need a higher tier of support as everyone gets the same level of support, ...
Eric's user avatar
  • 54.4k
3 votes
Accepted

Help creating apex class and schedulable apex class that will update all my custom object on a daily basis

It looks like you didn't actually call the method you needed to call. More to the point, you probably wanted a batchable class in case there's too many records to process. global class ...
sfdcfox's user avatar
  • 502k
2 votes
Accepted

Inner query in managed package

You're not referring to proper Child Relationship name. Go to your object - select your field and locate Child Relationship name for that field. Use that name. Refer below snapshots for example: Step ...
Rohit Mourya's user avatar
  • 3,891
1 vote

Inner query in managed package

Your relationship on Agreement to the ChargentOrders__Transaction__c will NOT contain a namespace since it is local to your org. Most likely it is just Transactions__r but only you will know since ...
Eric's user avatar
  • 54.4k
1 vote

Help creating apex class and schedulable apex class that will update all my custom object on a daily basis

I can see you are missing the update statement. Try below code: global class ChargentDailyUpdate { global static void checkUpdate(ChargentOrders__ChargentOrder__c[] objects){ for(...
sunny's user avatar
  • 1,397

Only top scored, non community-wiki answers of a minimum length are eligible