it means Merchant code
So UPI payment can be done with a few blocks and an Activity Starter, no need for your extension ?
probably yes if you want you can do
Hi,
When I Make the Payment I am getting the error Payee MCC Invalid Length, can you please let me know how to get around this
Sincerely,
Vimal
do you even know what is your merchant code?you first have to get your merchant code and then enter there
Hi,
Thanks for the reply, the Extension is working fine with Phone Pe and WhatsApp, but not working with Paytm and Google Pay, I have entered the mcid correctly. Might be Paytm and Google Pay have upgraded their Apps
Sincerely,
Vimal
Nice extension
I am not sure about Paytm but GooglePay has updated, now you all can accept UPI payments through the Merchant account only and for that you need a merchant account UPI Id which is not the same as a normal UPI Id, a merchant code, and a merchant name in-order to make payment through GooglePay.
So now it is time to make a GooglePay extension, note that GooglePay is also supported out of India also so we can need to think about Internationalisation also.
I have created an extension for that but I have no merchant account with GooglePayBusiness so if anyone is interested in testing then I can send an extension to him/her privately.
Thanks
One more thing I want to add after the successful test I will make it open source so anyone can see the code and if want then they can build their own version of the extension.
wow! @preetvadaliya this works fine and activity also success, but when we call
it shows below error, but by skipping it we can perform the UPI Action
java.lang.NoSuchMethodError: No virtual method getOpenAnimType()Ljava/lang/String; in class Lcom/google/appinventor/components/runtime/Form; or its super classes'com.google.appinventor.components.runtime.Form' appears in /data/app/~~w_gkc56oE5jKY6FMjHFoxQ==/edu.mit.appinventor.aicompanion3-Ycx7Ivbi2Fu7E1ndkA3A-g==/base.apk)
Note: You will not see another error reported for 5 seconds.
Are you testing in companion or with an apk?
using companion
You should also test the apk.
Also show your blocks. Maybe this way it will be easier to judge what is going on.
Tried to catch the Screen Error but nothing happened.
will remove the extension and directly try above method as it is based on this trick.
Actually, Google has made some changes to Google Pay payment gateway so you have to male some changes to code of extension and also keep in mind you can only accept payments on Google Pay business using this...(Android Intent method.)
It always show No corresponding activity found.