Apple Store not sending subscription changes to server #114
Replies: 5 comments
-
OK, now we found in the server that apple is working, but the server is doing a 302 redirect... only for apple route, as google works. Any idea please? |
Beta Was this translation helpful? Give feedback.
-
Ok, it turns out that apple doesn't send Accept: application/json header, required by our system (Google seems to send it). This solved the issue (3 days lost...) Thanks anyway! |
Beta Was this translation helpful? Give feedback.
-
Sorry, I could not solve it. Apple is calling to the server but it is being redirected to login (302). Isn't there a flag or something in apple's side to set a header? I can't find it... |
Beta Was this translation helpful? Give feedback.
-
Ok, laravel's endpoint for apple purchases is expecting : unified_receipt, unified_receipt.latest_receipt, unified_receipt.latest_receipt_info and notification_type, but apple is sending a signedPayload jwt token. What am I missing? |
Beta Was this translation helpful? Give feedback.
-
Hi @RocketFever22 |
Beta Was this translation helpful? Give feedback.
-
Hello everyone. Great package, I could make Google Play work easy and smooth. Thanks a lot!
But I have a problem with Apple:
I can verify receipts, I get the correct status with all the verification fields, but I don't recieve subscription change events in my server.
appstore_password
(is a string, right? not a .p8 file)But after purchasing or cancel a suscription, no apple events are triggered or the server does not recieve them. What am I doing wrong?
Do I need some kind of JWT that I'm missing? Maybe apple events are not triggered imediately? Is there something else I need to check?
Thanks in advance, and great work!
Beta Was this translation helpful? Give feedback.
All reactions