Donation functionality in flutter - flutter

I need to implement a donation button in my app.
Initially I want to that users can enter any donation value. But if I use the InApp products in play store, I am not able to set blank values for it.
After researching I found a widget named by_me_a_coffee_wigdet, which seems that I can use for donation. However, it has an alert saying that a donation button could lead to ban my app.
So, what is the best approach to implement a donation functionality?
Is it through an InApp consumable?
How can I use an option in which users can set any value?
Regards,

Related

Paypal buttons integration

Good morning, i have to create a landing page that gives the possibility to the user to book an pay with paypal buttons a limited training course.
Is the a way to make the paypal button interact?
I know that it is the possibility to set a stocking for the single product, but what i need to know is if it is possible to create a grouped product that change the stocking values of the others.
(example: if i buy the product a that has a 25 pieces stock, it will low the stock of the product b too)
thanks
Yes, you can track your inventory with PayPal buttons. Refer to the link below for the guidelines on creating Yes, you can track your inventory with PayPal buttons.
Refer to the link below for the guidelines on creating a button on your account.
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/create_payment_button/
a button on your account.

Accept Credit Cards without Businness Account

Problem:
I have a personal project and I want to be able to accept donations from users in a kiosk-like fashion using an Android tablet as the display/interface and a credit card reader. I was planning on using the REST API, however, this project is not associated with any business so I can't get a business PayPal developer account to enable accepting payments directly from credit cards.
Questions:
Is it possible to accept credit cards directly without a business account, or create a business account for an individual/personal? Would it be possible for me to get the credit card information and amount first, then pass that information to the PayPal UI to streamline the process so the user only has to tap a confirmation button?
Details:
My ideal user story:
User swipes card through card reader
User enters amount to donate
User confirms donation and is done
Simple and easy.
I realize that I can use a PayPal donate button but that is a much more complex user story and, as far as I know, without hacking the UI it will not be possible to support swiping the card and the user will have to enter the card information manually. Using the mobile SDK it might be possible to support card swiping but I still do not like the added layers of the PayPal log-in screen, having to select "Pay as guest", entering the amount in the textbox, etc. It needs to be an extremely simple process as I outlined above.
Possible (bad) Solution:
My last hope would be to collect the information, then in the background invisible to the user a web view would automate the donation process through PayPal by programmaticly going through the pages and filling out the textboxes. The web view would then be shown to the user once the final confirmation page is displayed for the user to tap the confirmation button. This is extremely hacky and a bad solution, however.
Side Question:
Why can I accept credit card payments through the PayPal UI (via a guest PayPal "account") without a business account, but I can't use the API to do so?
Unimportant Details:
I am building a KegBot which is a "smart" kegerator that tracks beer consumption and other data. The Android tablet displays this information and other fun stuff. I have a donation jar to help pay for the kegs but a common problem (or excuse) is that people don't have cash and only have plastic. My plan is to connect a card reader to the tablet as an accessory (or maybe use PayPal's card reader) to give drinkers a way to easily swipe a card and donate.
I am considering simplifying down the user story even more and making it so when the user swipes their card it automatically donates $5 without any other interaction needed. Maybe a confirmation button.
I tried going through the application to register my developer account as a business account and the form had changed. I was able to select Individual as the business type and use my home address and phone number. The application was approved and I now have a business account capable of processing credit cards using the rest API.

Change Alert Title In In-app-purchase

I am integrating my iPhone app with PayPal. Now I am taking fixed amount of charge for doing this transection. If user clicks on Pay by PayPal i am asking user to first make an In-app purchase. When user is doing transection for the first there won't be any problem.
But when user has already did transection before, it will display message "You have purchased this. Tap OK to download it again for free" with "Cancel" and "OK" buttons.
I think this type of message doesn't make any sense as its not for downloading app, Can i change it to something like "You have done this transection before. Tap Ok to perform next transection" with "Cancel" and "OK" buttons.
Is there any way i can give custom title or do they have any other pre-define messages for this type of transections?
Thanks In advance.
No, there is no way (nor is there a reason for there to be). Furthermore Apple will reject your app if you attempt to use PayPal to purchase an In-App download.

PayPal Donation button by Email ID

I want to get paypal button with default amount value by user email ID. So it will automatically use User Email ID registered with the website.
If I understand you correctly, you just need to make sure you're using a non-hosted button from PayPal so that you can see the values and dynamically set the business parameter based on the logged in user.
There are disadvantages to this, though, as people could see the form code, copy it, adjust it, and submit bogus values to your system. You could use IPN to help catch false orders, but it can be a hassle.
I would recommend using the Express Checkout API if you're familiar with web services. This ia a nice and secure way of doing what you need.

Different options to make payments inside an Application

I am exploring options which would enable the user to make payments from within the Application.Right now i am aware of 2 options through which a user can make payments from within the App.
1 In-App Purchase (Already implemented).
2 Pay Pal (Exploring).
So is there any other way to implement purchases. Any links , APIs ,advices will be welcomed...
PS: I intend to release this app on US App Store.
Cheers.
I can tell you, that for an in-app purchases PayPal is most definitely a no go, but you will find this out by yourself :)
Apple will only accept payment for such activities through in app purchases, no other methods of payment are allowed.
There is a workaround for these type of purchases (especially PayPal); do them not within your app but from mobile Safari. That will work and is (for now) an accepted method used by more applications.
In app purchase is the only (reliable) way to do 'feature purchasing' and if you want to be in the App Store. If you want to accept donations, you can use in app purchase or PayPal in a UIWebView. There really isn't a whole lot of choice for it on the iPhone.
The reality of the situation is that you are going to want to use in app purchase. Users are going to be more willing to pay if they can just press a button and have it show up on their bill. If you use any other service, they're going to have to go get their credit card, etc... It'll just be ugly.
Another alternative is accepting funds through SMS. This may only be appropriate for donations to charities/non-profits. There are services for supporting SMS giving such as mGive (http://www.mgive.com/), Give on the Go (http://www.giveonthego.com/), or giveByCell (http://www.givebycell.com/).