Advertisement
arsen_aar

Untitled

Nov 6th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. void InAppStore::processTransaction(const String& i_id)
  2. {
  3.     // Allowing to send next transaction if needed
  4.     clear();
  5.     // Here is possible to use transactionId for direct confirmaion at the GameServer.
  6.     // But we decided to get all of transactions and confirm them at once.
  7.     AccountDiff * pbDiff = DiffCreator::createTakeTransactions();
  8.     pbDiff->commit();
  9.  
  10.     onPaymentFin(i_id); // евроятно его следует вызывать не от сюда, а после прохождения createTakeTransactions ?
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement