Flutter IAP In app purchase payment not received - flutter

I have configured IAP and create a subscription, everything go fine in test mode, after I created a production release, the users when explore the subscription and purchase it, they got an email with:
Thank you. This is a test subscription. It will recur according to this schedule. You have not been charged.
Could you please tell me why this happened? And please provide me with any suggestion.

Related

How to search for In-App transaction in Huawei AppGallery

I have published my app in Huawei AppGallery.
Users make purchases (In-App), I can only see the number of purchases the next day.
But I can’t verify the user’s purchase in any way, but only believe them.
In Google Play, I can enter the email or GPA number of the purchase and check when it was made and if the transaction was successful.
In Huawei AppGallery, I did not find this anywhere. Can you please tell me where can I find this option?
After all, it is the most important option for developers, I do not believe that it does not exist. I also need to know about the purchase this day, not the next day.
In the developer console, you could download the report as shown below
To track real-time transaction results, you could add "viewing the purchase history" in your app. Once this history is successfully obtained, you could either pass it to your server or save it in the app.
Alternatively, you could confirm the purchase by verifying the purchase token (from InAppPurchaseData) to confirm the purchase as well.
According to your description, you can go to Developer Center > My Report > Payment Report.
You can search for all subscriptions under your app by keywords such as the app ID, time, and order status.
https://developer.huawei.com/consumer/en/console#/myReport/payment

Implement In app promotion on subscription with promo code in flutter using in_app_purchases official library

I recently implemented the in-app subscription into my app. Now I am working on adding the promo codes for a subscription. People with promo code can have 15 days trial and after that, they'll be charged.
https://developer.android.com/google/play/billing/billing_promo
Described here we can have promotions on subscriptions by giving the user a free trial period. I have created the promotion in the play console. But when I purchase the subscription there is no way I can add the redeem code or promotion code ( Do my app need to be in production or i can test in alpha track too ).
Please Guide me on this.
You need to configure license testers on the Play Developer Console to test Google Play Billing as mentioned in this guide. As for configuring the promo code, it's also done on the same page.
To test the Billing integration on your app, it needs to be published on test track at least. You can visit this guide for more details. Once the setup is done, the promotion can be tested. There should be a promo code field on the Purchase Dialog in your app. Here are other methods where the promo code can be tested.

Auto Renewable Subscription Free Trial Not Working

I have been trying to add a free trial to my Auto-Renewable subscription in itunes connect. Currently I have added the duration of 1 month trial for a 1 month subscription, however in the app during the purchase flow there is no mention of the trial. Instead it gives the typical dialog "your subscription will start on ...."
Am I missing something? Do I need to enable free trials in a different manner? I have tried using a sandbox user to test in a dev build on a IAP that was not cleared for sale. I have also tried testing on a normal account with an IAP that is currently available and cleared for sale.
PS: please let me know if I should post this kind of question somewhere else.
Thanks
We have an auto-Renewable subscription with free trial. You don't need anything else in addition.
Have you modified an existing already approved purchase or is it a new one? Try creating a new IAP, send it for approval and once cleared for sale test it with a sandbox user.
I needed to create a new subscription product and submit to review. Only after that, I was able to test. Without sending it to review, I wouldn't be able to retrieve it in the app.

PayPal IPN not working in sandbox

I'm brand new to setting up IPN's. I've built websites, but never a subscription site like the one I'm building now. I'd like to set up a recurring monthly subscription option and a recurring yearly subscription option.
My website is built on Joomla 3 and I'm using a plugin for the subscription module. I set up the PayPal subscription buttons just as explained in the directions, which I followed to the letter. Nevertheless, when I go to test it in the PayPal sandbox, I keep getting the same error, which says that it wasn't sent and the handshake wasn't made, and to check my settings. That's all it says. I don't know if the issue is with my site, my server or the settings I'm entering into the actual sandbox. I checked with my server and they said there's nothing wrong on their end. Do I need an SSL for the integration to work?
Please keep in mind that, while I can follow explicit directions, I'm so new at this that I don't even know how to access my 'listener,' so if you respond, please let me know where to find things, if necessary.
Any help would be very greatly appreciated - I've been at this for 12 hours now and I'm at a complete loss.
This issue has two sides
1. Is Paypal IPN enabled on the sandbox account where you are trying to receive the payments
2. You would need a IPN listener script to get the IPN notifications
This process is the same for Sandbox or live mode
https://www.jotform.com/help/276-How-to-Enable-IPN-for-Paypal
https://github.com/paypal/ipn-code-samples
This should help you get started

PayPal Sandbox Notifications Problem

I have a .NET site which integrates with PayPal. I am currently working with the Sandbox, and with recurring subscriptions.
I have created my buttons, and I am able to subscribe with them. I see the money go out of my test user accounts and into my test business account. I receive notifications back to my notification URL...all good.
My buttons are currently set to recur subscribe payment every day.
My problem is that the recurring payments are never made, and I never receive any notifications.
Everything looks good in the Sandbox...all of my subscriptions appear active in the business account profile, and all of the buttons look correct.
NOTE: I used to get many recurring notifications when I was in early development and failed to unsubscribe. I cleaned out my accounts by resetting them, and I now unsubscribe correctly, but I don't get notifications beyond the initial signup.
Questions:
Any ideas? Has anyone else seen this issue?
What is the best way to ask for help with this other than SO?
Should I delete and recreate all of my test accounts? I have
tried to reset them all, with no change in behavior.
UPDATE: The problem isn't me. I found out by browsing the forums on x.com that PayPal subscription notifications in the Sandbox has been down for over a week!!!!! Not good, but the problem wasn't me.
I'm actually currently dealing with their recurring payments API as well.
When working with their DoDirectPayment API, the money wasn't always transferred from test account to test account. However, after switching to live mode, every thing worked fine. Although, I did receive payment notifications in sandbox mode.
To be more helpful, I would suggest registering at x.com. There, the forums are moderated by PayPal technicians, and can provide helpful insight and well-suited solutions for your problems. They can also personally check your sandbox accounts for you.
I assume from what you say that you are receiving an IPN for the initial payment but no recurring IPNs. In that case I would strongly suspect that the recurrence is not being setup correctly.
Can you check the subscriptions?