Solved

Implement beginRefundRequest in iOS app

  • 4 November 2021
  • 2 replies
  • 589 views

Badge +2

Hi !

In my iOS application (iOS 15.0), I would like to implement the new beginRefundRequest(in:)

func beginRefundRequest(in scene: UIWindowScene) async throws -> Transaction.RefundRequestStatus

Reference available here: https://developer.apple.com/documentation/storekit/transaction/3803220-beginrefundrequest)

 

The fact is that, at the moment I can’t figure out how to get `Transactions` from `SKPaymentQueue` from RevenueCats SDK… I’ve found stuffs in `RCStoreKitWrapper` > `RCStoreKitWrapperDelegate` to get `updatedTransaction` delegate but these are private/protected so I can’t have any access to them outside the SDK…

So here is my question: How can I add this new `beginRefundRequest` in my app ? :-)

Thanks a lot for your answer

Best regards

 

Jayjay

icon

Best answer by cody 5 November 2021, 15:48

View original

2 replies

Userlevel 6
Badge +8

Hey @JayJay_Paris!

Our SDK team is working on supporting this new feature, and it should be included in v4 of the iOS SDK. You can follow along here: https://github.com/RevenueCat/purchases-ios/pull/924

Badge +2

Thanks for your answer 👍

Have a great weekend

Jay&Jay

Reply