ios - Print In app purchase transaction receipt? -


iam using following code in app purchase , and working wanna know transaction receipt .i know in encoded format have send server.so please tell me can find ? how add code iam using code

please click here

- (void)completetransaction:(skpaymenttransaction *)transaction {     nslog(@"completetransaction...");     uialertview *alert=[[uialertview alloc]initwithtitle:@"alert" message:@"transaction completed." delegate:nil cancelbuttontitle:@"ok" otherbuttontitles:nil, nil];     [alert show];     [self providecontentforproductidentifier:transaction.payment.productidentifier];     [[skpaymentqueue defaultqueue] finishtransaction:transaction]; } 

is receipt ?? "skpaymenttransaction: 0x147e1860"

 nsstring *receiptstr= [base64encoding base64encodingfordata:(transaction.transactionreceipt) withlinelength:0]; 

try may you.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -