When I try to assign the actual Price (Number) to the RazorPay Create Payment Link, it fails with the message āThe amount must be an integerā. Any help with this or how to rectify this?
Can you be more specific? The backed table is a Number type, while the front end value I am passing is a :sum of this Number type. I donāt see a way to format as integer? Do you mean, :Format as a Number?
So just posting the result back here. The issue is that Bubble treats a number as a both Integer and Decimal. So what was happening in my case was that the number was being calculated as a number (though with decimals). Got this truncated and voila. Also you need to multiply the number with 100.
Hope this helps anyone else who uses this plugin. Works seamlessly!
New important update. On the 31st of March 2021, the legacy API will be deprecated. Iāve removed all of the old calls two weeks ago and added the new payment links api calls.
The update was a hasty one and as you might have noticed there are about 5 different calls to create Payment Links for the new contract atm, this was due to the issue with the JSON body not ignoring empty values inside the calls.
As of today Iāve launched a new server-side action call for the payment link, all empty fields will automatically be ignored, and best of all you can configure partial payments as well.
On the back-end, Iāve changed the webhook to accept full payment links updates from the Razorpay API, you can apply the same for partial payments.
What should you do?
Make sure you use the new payment link call created as of today: RazorPay - Payment Link (Full Server-Side)
There are two extra fields on the Plugin tab, make sure to fill those in with your username and api secret
Check the Back-end API workflow to view the webhook setup on Bubble
Change your webhooks to accept payment links instead of regular payment updates as they will get deprecated in 2/3 days.
Hey @nocodeventure, we tried to use this plugin but we are constantly getting this error
"The service Razorpay - Create Payment Link (New) just returned an error (HTTP 400). Please contact the plugin author directly for feedback. Raw error:
{āerrorā:{ācodeā:āBAD_REQUEST_ERRORā,ādescriptionā:āinvalid access: merchant should not have both [paymentlinks_v2_compat] and [paymentlinks_v2] feature flags assignedā,āmetadataā:[],āreasonā:null,āsourceā:null,āstepā:null}}"
The plugin is used by 212 applications at this point of time. If you have any issues with the plugin, feel free to report them and iāll make sure we have a look at it.
I was considering to use your plugin to integrate razorpay and allow indian users to pay with their preferred methods like UPI.
Just wanted to ask you if there is anything specific to pay attention at since my company is located in Italy, or something that makes it difficult when company is based in EU instead of India itself.
Also if you know how much Razorpay typically charge on each transaction and if thereās any further charge for the change of currency from INR to EUR.