In App purchase

Hello,

Have been able to set up inApp purchase in my app and I have gotten my license key how will I get my marchant ID?

Set up a merchant account in your Play Console.

Where will I go to to set it up

Here:

https://play.google.com/apps/publish/

Go to the sidebar > Settings > Payment settings under Developer account

2 Likes

Thank you so much

1 Like

Please mark my post as Solution if your query is solved. :slight_smile:

I have fully implement the in app purchase I want to ask if am doing the right thing. I got an error when trying to purchase. In my app I didn’t use the android.test.purchased I implimented the live purchase. So I want to know if am on the right path, I used companion to test and I got an error. My question is that Google play is going to approve the in app purchase before the error can be solved?

1 Like

Here is my block, is there anything am doing wrongly

The “name” is my productID

you can’t test this in the companion app
you have to build your project, upload it into Google Play Alpha or Beta and test there using another Google account (not your developer account)
see also the Q&A section here App Inventor Extensions: Billing | Pura Vida Apps
Taifun

2 Likes

Alright, I understand now.
Today I checked my play console account, because I had already published the app in Alpha for testing. I got this message your application submitted on…date is live on play store, when I clicked on the 3dot menu to check on play store I got another message, the item you’re looking for can’t be found. Am confused.

@Taifun please I want to know if my blocks are correct.

Please help I have uploaded to play store for full production. In the designers view I disabled the test mode and suppressed notification. I also used my live productID.
My app became live on play store so I checked if live payment will be made but not what I was expecting I got a test payment, don’t know why. Here’s my screenshots. Also after purchase block didn’t work.

I haven’t used IAPs yet, so I’m not sure, but have you checked if there are any related settings in your merchant account?

I have checked but can’t find any.

If there’s nothing in Managed Products under the specific app… I’m sorry, I really don’t know more about IAPs.

Thank you very much, I now know the reason I just tried something and it worked. The reason why it was showing test purchase is because I was using the email that is linked to my developer account. So I decided to test on another person’s phone and it worked, real payment.

1 Like