The recently announced TrustCommerce Subscription plugin has been updated to include the ability to make one-time charges and credits. Very cool!
Examples
Make a one-time sale against an existing subscription
response = TrustCommerceGateway::Subscription.charge(
:billingid => 'ABC123',
:amount => 1995
)
Issue a credit against an previous transaction
response = TrustCommerceGateway::Subscription.credit(
:transid => '001-0000111101',
:amount => 1995
)


Commenting is closed for this article.