Mac App Store purchase confirmation dialog; Purchase button is missing

Since some time now, when users try to buy my App on the Mac App Store or want to start the trial, the system dialog to confirm the purchase is not working correctly.

The dialog is sticking to the upper border of the screen behind the menubar and can‘t be moved. And - this is the real problem - users can not confirm the purchase, because the button (or Touch ID field) is not shown. Only the cancel button is there and clickable.

Usually (where the arrow points) there is the Touch ID symbol, the password field or purchase button.

Any ideas?

Answered by agross_Andy in 889233022

Yes, I fixed it.

Root Cause: The unexpected behavior happens because the application window was being closed before the OS purchase dialog could fully initialize. Because there was no active window on the screen, the system dialog had no parent window to anchor ("hook") to, causing the process to fail.

The Fix: To fix this, ensure your application window stays open until the purchase flow is entirely complete.

Correct Workflow:

  • Open your custom purchase/store window.
  • The user clicks "Buy".
  • Do not close or hide your purchase window yet. Let the OS system dialog appear directly on top of it.
  • Wait for the user to either complete the purchase or cancel it.
  • Once the billing API returns the final success or failure callback, you can safely close your purchase window.

I'm having a similar problem, however it only happens when my screen is being shared or recorded in any way.

Were you able to resolve this issue? I am having the same issue. Why are we not having the confirmation button?

Accepted Answer

Yes, I fixed it.

Root Cause: The unexpected behavior happens because the application window was being closed before the OS purchase dialog could fully initialize. Because there was no active window on the screen, the system dialog had no parent window to anchor ("hook") to, causing the process to fail.

The Fix: To fix this, ensure your application window stays open until the purchase flow is entirely complete.

Correct Workflow:

  • Open your custom purchase/store window.
  • The user clicks "Buy".
  • Do not close or hide your purchase window yet. Let the OS system dialog appear directly on top of it.
  • Wait for the user to either complete the purchase or cancel it.
  • Once the billing API returns the final success or failure callback, you can safely close your purchase window.
Mac App Store purchase confirmation dialog; Purchase button is missing
 
 
Q