Thor 雷神

Results 27 comments of Thor 雷神

You will need to extract the PaymentIntent from your subscription object, return that PaymentIntent's client_secret to your app and then call `confirmApplePayPayment` with that client_secret. The SDK will read out...

@fedebaier thanks for the feedback! Currently the sheet is localised based on the language in the phone device settings. But I agree that we should allow you to overwrite it....

If you go to Settings -> System -> Languages & Input -> Languages -> and then add your language to the top of the list, you should see a different...

@fedebaier which languages have you set for your apps? It's working fine for me. Do note that on iOS you need to specify which languages your app supports: https://help.apple.com/xcode/mac/current/#/devafa3a605f on...

Thanks @j-berman. This ended up a somewhat larger change as I've added a function handler to cancel the subscriptions, and also renames the webhook handler function. PTAL and let me...

One question I had: Is it safe to assume that the userId is only known to an authenticated client? Or could there be an attack vector of someone sending cancel_subscription...

@j-berman sounds good. I've tagged this PR to [WIP] so we can leave it open until the authentication from Netlify functions feature ships and moved the previous changes to https://github.com/encrypted-dev/userbase-samples/pull/13...