Skip to content

Commit

Permalink
#48 Return deleted ID in token
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanovM committed Jan 11, 2017
1 parent 6f95f36 commit 8ea4036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ public virtual void AddOrderNoteTokens(IList<Token> tokens, OrderNote orderNote)
/// <param name="recurringPayment">Recurring payment</param>
public virtual void AddRecurringPaymentTokens(IList<Token> tokens, RecurringPayment recurringPayment)
{
tokens.Add(new Token("RecurringPayment.ID", recurringPayment));
tokens.Add(new Token("RecurringPayment.ID", recurringPayment.Id));

//event notification
_eventPublisher.EntityTokensAdded(recurringPayment, tokens);
Expand Down

0 comments on commit 8ea4036

Please sign in to comment.