Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to implement custom prompt for Unity IAP and Apple Pay integration?

Discussion in 'Unity IAP' started by hzhou1995, Dec 11, 2019.

  1. hzhou1995

    hzhou1995

    Joined:
    Dec 11, 2019
    Posts:
    6
    Hi there,

    Thanks to the devs for the awesome package! I've got Unity IAP working smoothly functionally. I was wondering 2 things:

    1) Is there was a way to change the prompt that pops up when asking the user if they wish to purchase the asset? I'd like to use custom UI rather than the grey box that pops up

    upload_2019-12-11_3-18-14.png

    2) Is there a way to integrate Apple Pay with Codeless IAP? My tests so far require the user to sign in to make the purchase but a seamless Apple Pay touch would make the transaction much smoother.

    Thanks for the help!

    Henry
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    That popup is just the fake store from the demo app and is not connecting to Apple. A real app would not have this UI (note the fake store mention). Regarding Apply Pay, that is default behavior on the device that we have no control over. Compare to the Sample IAP Projects here, first is scripted, second is codeless. https://forum.unity.com/threads/sample-iap-project.529555/
     
  3. hzhou1995

    hzhou1995

    Joined:
    Dec 11, 2019
    Posts:
    6
    Hi Jeff,

    Thanks for your reply! That was very helpful :D