bizz84 / bizz84/SwiftyStoreKit

Need example how to use discounts

Open
#549 3 comments 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

## Question
Hello I need example how to use discounts,

I can not get this to work

`SwiftyStoreKit.purchaseProduct(productSK!, quantity: 1, atomically: true, applicationUsername: "", simulatesAskToBuyInSandbox: false, paymentDiscount: productSK?.discounts.first)`

I want to give users 3 days trial for example and I setup everything on the server, but I really don't understand how to do that...

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.