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, ...
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 ...
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 ...
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 ...
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(...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
chargent × 5trigger × 2
soql × 2
managed-package × 2
apex × 1
lightning-aura-components × 1
lightning × 1
community × 1
custom-object × 1
scheduled-apex × 1
scheduled-job × 1