question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promoted products. delegate does not respond to method paymentQueue:shouldAddStorePayment

See original GitHub issue

Version of react-native-iap

4.5.0

Version of react-native

0.61.5

Platforms you faced the error (IOS or Android or both?)

IOS

Expected behavior

iap-promoted-product event received inside the application

Actual behavior

[Daemon] [SKPaymentQueue]: Tried to send purchase intent: <PRODUCT_ID> to delegate, delegate does not respond to method paymentQueue:shouldAddStorePayment:forProduct inside XCode logs when trying to test via itms-services://?action=purchaseIntent&bundleId=<BUNDLE_ID>&productIdentifier=<PRODUCT_ID>

callback for iap-promoted-product event isn’t called

Tested environment (Emulator? Real Device?)

Real device, IPhone XR 13.6.1

Steps to reproduce the behavior

  1. Set up an event-listener for promoted products (as in example inside this repo)
  2. Open app
  3. Change app’s status from active to background
  4. Open safari and past itms-services://?action=purchaseIntent&bundleId=<ID>&productIdentifier=<ID>
  5. Open this link
  6. Read the message (as in Actual behavior section) inside XCode logs

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
EgorKazachenkocommented, Aug 29, 2020

😄 epic, can be closed i think. will be nice to add this hint into docs, i know that there is such hint for normal payment-flow, on my opinion it is a good idea add it to promoted-flow also

Screen Shot 2020-08-29 at 20 33 34
0reactions
stale[bot]commented, Aug 3, 2021

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

delegate does not respond to metho… - Apple Developer
Hi,. I need use the method paymentQueue:shouldAddStorePayment:forProduct for buy from Appstore. But I open the application with this link, ...
Read more >
readyForPromotedProduct not called - RevenueCat Community
Tried to send purchase intent: <SKPRODUCT_ID> to delegate, delegate does not respond to method paymentQueue:shouldAddStorePayment:forProduct.
Read more >
shouldAddStorePayment:_:) not being called? - Stack Overflow
This delegate method is called when the user starts an in-app purchase in the App Store, and the transaction continues in your app....
Read more >
Delegate® WG Insecticide | Corteva Agriscience™
Learn how Delegate® WG insecticide provides fast, lasting control of your most problematic insect pests, while minimizing the impact to beneficial insects.
Read more >
Integrated Pest Management (IPM) Principles | US EPA
How do IPM programs work? IPM is not a single pest control method but, rather, a series of pest management evaluations, decisions and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found