I am following a tutorial for implementing in-App purchases, https://www.youtube.com/watch?v=dwPFtwDJ7tc&t=1170s and one line of code is different to the tutorial when I try to write it.
The video says to write the line of code as:
SwiftyStoreKit.verifyReceipt(password: sharedSecret, completion: {(more code added here)})
However when I write it out the only options that come up involve another part, this being 'using:'
SwiftyStoreKit.verifyReceipt(using: 'ReceiptValidator', password: 'String?', completion: '(VerifyReceiptResult) -> Void')
If I just delete the 'using:' section an error occurs. I'm a fairly new developer so it would be great if someone could explain what this means, and how to fill this section out.