How to approve or deny a pending StoreKit Transaction in XCode
![Oscar de la Hera Gomez](https://www.delasign.com/CDN/headshots/profile.webp)
![Two flowers that represent StoreKit and XCode side by side. Beneath them sits the text “Approve or Deny StoreKit Transactions in XCode.”](https://www.delasign.com/CDN/images/How-to-deny-or-approve-a-pending-StoreKit-Transaction-in-XCode.webp)
A two step guide on approving or denying pending StoreKit Transactions in XCode.
The guide was made using our Free iOS StoreKit 2 Open Source project which is recommended for developers or business folk wishing to learn about how In-App Purchases or Subscriptions work and the code behind them.
In order to be able to approve or deny pending StoreKit Transactions, you need to have a project that has StoreKit setup with a coordinator that can make purchases, have StoreKit testing enabled and have at least one pending purchase created using Ask to Buy in an XCode environment.
To learn how to do this consult the guides below.
Step One: Open the StoreKit Transaction Manager
![A screenshot of Xcode highlighting the StoreKit Transaction Manager button on the debug bar at the bottom of the screen. Its the second to last on the debug options area of the debug bar.](https://www.delasign.com/CDN/images/Open-Manager.webp)
Open the StoreKit Transaction Manager.
For a guide on how to do so, use the link below.
Step Two: Approve or Deny a Pending Transaction
![A screenshot of the XCode StoreKit Transaction Manager. Highlighted is a pending transaction. We have used arrows to point out the tick and cross that appear after selected a pending transaction. The tick approves the transaction whilst the x denies it.](https://www.delasign.com/CDN/images/Approve-or-Deny.webp)
Select a pending transaction and press the tick icon to approve the purchase, or the cross icon to deny the purchase.
Looking to learn more about developing apps with StoreKit 2?
Read our comprehensive development guide linked below to learn about all the secrets behind developing In-App Purchases and Subscriptions with StoreKit 2.