Skip to content

Commit

Permalink
FIXED: Always call OnPurchaseSuccess if defined for out of band purch…
Browse files Browse the repository at this point in the history
…ases
  • Loading branch information
mgoodfellow committed Jan 19, 2019
1 parent 1b1876f commit c4f1677
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Plugin.InAppBilling.iOS/InAppBillingImplementation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,7 @@ public override void UpdatedTransactions(SKPaymentQueue queue, SKPaymentTransact
case SKPaymentTransactionState.Purchased:
TransactionCompleted?.Invoke(transaction, true);

if (TransactionCompleted != null)
onPurchaseSuccess?.Invoke(transaction.ToIABPurchase());
onPurchaseSuccess?.Invoke(transaction.ToIABPurchase());

SKPaymentQueue.DefaultQueue.FinishTransaction(transaction);
break;
Expand Down

0 comments on commit c4f1677

Please sign in to comment.