I have implemented iAP in my application,
I'm try to purchase but in StoreKitController
controller its return previous transaction detail.
Example: First i purchased with product name "ABC", this transaction is completed, After that i try to another transaction with product "XYZ", but in 2nd transaction i'm getting product name and product price of product "ABC" in below method.
- (void)DoBuy:(NSString*)ProductName PaymentType:(int)type Quantity:(int)Q
{
DLog(@"Product is.......%@",ProductName);
// My code
}
Product is.......ABC
And
- (void) completeTransaction: (SKPaymentTransaction *)transaction
{
DLog(@"Price is..%lf",ProductPrice);
DLog(@"%@",transaction.payment.productIdentifier);
// My Code
}
Price is...1.990000 ABC
But actually here it should be for product "XYZ" with price 2.99
Thanks in Advance.