For any receipt related questions, digital or other forms.
Questions tagged [receipt]
283 questions
1
vote
0 answers
In-app Receipt Server Side Validation - Wrong is_trial_period value
I am verifying receipts on the server side with no problem. I want to add extra information such as is_trial_period to our payment table to easily distinguish trial payments from renewed subscriptions but the information I get from apple is…

Burak A.
- 74
- 1
- 5
1
vote
1 answer
Format a receipt with WinForms Application
I'm working with a restaurant bill printing software.
I've developed a receipt. but they don't look actually like a receipt.
I've followed a solution from codeProject. Here is my code of building a receipt:
//Get the Graphics object
…

Onick Ahmed
- 91
- 1
- 15
1
vote
1 answer
Receipt alignment is not working properly in swift
I am currently printing receipt from my data
when i print my receipt alignment data is not working properly
i think that i should apply start index and end index to string
because my product name length is different
So i apply this code to check…

Krutarth Patel
- 3,407
- 6
- 27
- 54
1
vote
1 answer
Unpack iOS app receipt in c# and php
I have Xamarin iOS app with in-app products. I get base64 encoded app receipt:
NSUrl receiptURL = NSBundle.MainBundle.AppStoreReceiptUrl;
String receiptData = receipt.GetBase64EncodedString(0);
According to Apple docs 7.0+ app receipt is packed in…

Tertium
- 6,049
- 3
- 30
- 51
1
vote
0 answers
iOS purchase transaction in valid receipt but not in payment queue
While testing purchases with an Apple sandbox user i somehow generated purchases which are present in the validated receipt but there is no corresponding transaction available in the payment queue.
So here is what i do:
1) On app start i register to…

c0delama
- 663
- 6
- 9
1
vote
1 answer
Star micronics center image
Im trying to center a image on 80mm paper but it its always in the left position this is what i tried. Thanks
AssetManager assetManager = mContext.getAssets();
InputStream istr = null;
try {
istr =…

user1054513
- 605
- 3
- 13
- 24
1
vote
1 answer
How to send command to receipt printers from Django app?
I have created a simple POS application. I now have to send a command to the receipt printer to print the receipt. I don't have any code related to this problem as I don't know where to start even. My questions are:
1) Is Windows a good choice for…

MiniGunnR
- 5,590
- 8
- 42
- 66
1
vote
0 answers
How to parse iOS receipt file locally in Unity3d?
I have a path to a receipt file on the device.
Do you guys have an idea how i can convert this file to smth readable to get, say, the date of the latest in-app purchase (using C# in Unity3d)?
The receipt i'm talking about

Viatcheslav Tarasov
- 19
- 6
1
vote
1 answer
Is the transactionReceipt data present in dataWithContentsOfURL?
I do IAP receipt verification on server-side. For this I send SKPaymentTransaction' transactionReceipt.
Now that transactionReceipt is deprecated, I tried to use:
[[NSBundle mainBundle] appStoreReceiptURL]
But this is not the same data (so…

meaning-matters
- 21,929
- 10
- 82
- 142
1
vote
2 answers
In app purchase IOS
I am using in app purchase auto renewable and all working perfect, but my question : is it obligatory to use the receipt of apple or i can generate it by my web service?
So apple would accept my application if I don't use the receipt to validate or…

Houssam
- 125
- 1
- 12
1
vote
3 answers
How to print Logo stored in Epson Printer using JavaPOS
Want to know, how to print Logo stored in Epson Printer (TM-T88V) using JavaPOS, I used Epson Utility to store logo image in printer. I am using JavaPOS, POS is able to print receipt. I want to print logo on top but no luck. I tried to make some…

Deep Mann
- 11
- 3
1
vote
2 answers
In-App Purchase Receipt Parsing In WP8
I try to write a phonegap WP8 in app purchase plugin. In my plugin, I want to get "order id". I know it's possible, so receipt has an unique id.
When I try this,
string receipt = await CurrentApp.RequestProductPurchaseAsync(productListing.ProductId,…

madjack
- 2,321
- 2
- 15
- 22
1
vote
0 answers
string.Format does not made alignment with fixed width
This is my function to print a receipt for order, print is working but my problem is that print does not made a aligned records. i have attached a screen shot of output at the bottom please tell me what i do so output make good.
private void…

Virk
- 21
- 8
1
vote
1 answer
Error "Expected: [UNIVERSAL 17], expectation failed (tn=0, tm=0)" while parsing ASN.1 application receipt
I am currently implementing local receipt validation following Apple's Receipt Validation Programming Guide. I can obtain a test receipt but when I try to parse it as follows (i.e. as suggested in Listing 1-5 of the guide)
rval =…

Drux
- 11,992
- 13
- 66
- 116
1
vote
1 answer
SKReceiptRequest not calling (NSBundle that conforms to) SKRequestDelegate
I am currently implementing local receipt validation following Apple's Receipt Validation Programming Guide. I have defined a category on NSBundle that conforms to SKRequestDelegate and that offers a method for receipt validation, which I call from…

Drux
- 11,992
- 13
- 66
- 116