cancel
Showing results for 
Search instead for 
Did you mean: 

IAP Error with message "An Unknown error occurred".

me2onvr
Honored Guest
About two months ago we were able to successfully complete the payment test with the Test account on the Alpha version.
I did not change anything related to the payment afterwards.

However, when I tried the test from a few days ago, I entered the PIN number and failed with the message "Something went wrong.  We're working on getting it fixed as soon as we can." 

Error Log:
ovr_Error_GetMessage() = "An Unknown error occurred"
ovr_Error_GetDisplayableMessage() = ""
ovr_Error_GetCode() = 1
ovr_Error_GetHttpCode() = 0

What is more incomprehensible is that if I check ovr_IAP_GetViewerPurchases () after this failure
In some cases, there was a purchase history that failed in the purchase history.

And now, I could not go to the step of pressing the PIN number, I just started to see the message below.
 "Check address. We couldn't calculate the tax on your order. Please check your billing and delivery addresses, and try again later."

I tried test after updated SDK version 1.20.0 from 1.19.0,
and also test by searching the forums and inserting a valid ZIP code, but the situation was the same.
I want to know why this problem is starting to appear.
1 REPLY 1

me2onvr
Honored Guest
This is error log  when failed purchase...
-----------------------------
W RCTVR   : [warn]: 'Relay', [ [ 'RelayOculusMutations: Error in GraphQL response.',
 W RCTVR   :     [ { message: 'Errors while executing operation "ConfirmIAPOrderMutation": At Mutation.confirm_iap_order:ConfirmIapOrderResponsePayload.entitlement:IAPEntitlement.item:IAPItem.cinema_video: Field implementation threw an exception. Check your server logs for more information.',
 W RCTVR   :         severity: 'ERROR' },
 W RCTVR   :       { message: 'Errors while executing operation "ConfirmIAPOrderMutation": At Mutation.confirm_iap_order:ConfirmIapOrderResponsePayload.order:Order.app_store_item:IAPItem.cinema_video: Field implementation threw an exception. Check your server logs for more information.',
 W RCTVR   :         severity: 'ERROR' } ] ] ]
 I RCTVR   : [info]: 'Store', [ [ 'Confirm Order failed! undefined (NoCode)' ] ]
 I RCTVR   : [info]: 'Routing', [ [ 'PUSH Navigating to /store-error' ] ]
 V RCTVR   : [log]: 'Routing', [ [ 'REPLACE: /prime',
 V RCTVR   :     'REPLACE: /commerce/iap/create_order_sku/821422051316132/30078',
 V RCTVR   :     'PUSH: /commerce/61300700228064/purchase_total',
 V RCTVR   :     'PUSH: /commerce/61300700228064/purchase_pin_entry',
 V RCTVR   :     'PUSH: /store-error' ] ]
 V RCTVR   : [log]: 'Routing', [ 'Referrer', null ]
 W RCTVR   : [warn]: 'Home', [ [ 'No friendly title for Error, using default.',
 W RCTVR   :     { message: 'Errors while executing operation "ConfirmIAPOrderMutation": At Mutation.confirm_iap_order:ConfirmIapOrderResponsePayload.entitlement:IAPEntitlement.item:IAPItem.cinema_video: Field implementation threw an exception. Check your server logs for more information.',
 W RCTVR   :       severity: 'ERROR',
 W RCTVR   :       line: 63,
 W RCTVR   :       column: 3980,
 W RCTVR   :       sourceURL: 'assets/reactnative.bcbundle' } ] ]
 I RCTVR   : [info]: 'Analytics', [ { active_duration_ms: 2323.738042000012,
 I RCTVR   :     section_name: 'store_commerce',
 I RCTVR   :     sub_section_name: 'pin_entry',
 I RCTVR   :     real_timestamp: 1517042259681,
 I RCTVR   :     type: 'oculus_home_loading_spinner' } ]