Phonepe Payment Gateway Integration

I hope this message finds you well. My name is Viraj, and I am currently working on integrating the PhonePe payment gateway into our platform using the Bubble API connector.

I have successfully created a payload, and according to the PhonePe Web Integration documentation, I need to encode the payload using base64. Subsequently, I am required to send an X-Verify header with the SHA256 hash of the concatenated string (base64 encoded payload + “/pg/v1/pay” + merchantId) appended with ‘###’ and ‘1’.

I’ve been exploring the Bubble API connector, and I am seeking guidance on how to implement the encoding of the payload and creation of the X-Verify header as per the specifications mentioned.

Below is the example provided by PhonePe for the X-Verify header:

bashCopy code

SHA256(base64 encoded payload + "/pg/v1/pay" + merchantId) + "###" + "1"

I would greatly appreciate any assistance or guidance you can provide in implementing this in the Bubble API connector. Additionally, if there are any specific considerations or steps I may have overlooked in the integration process, your guidance would be invaluable.

For your convenience, here is the link to the PhonePe Web Integration API documentation:

Thank you very much for your time and support. I look forward to your guidance and expertise on this matter.

If you haven’t already, join the Indian Bubblers WhatsApp group. Plenty of them who knows the ins and outs with RBI regulations and all the Indian wallet integrations.

Can DM you the invite code if required.

Yes, I would be delighted to join this group and would be happy to receive the invite code.

Hi brother,
I also want to integrate the phonepe api into my bubble app and there is no tutorial for it anywhere. I have the merchant id, X-verify with me but do not know how to set up the api in api connector. can you please help me out or share a screenshot of how to set it up.


i would also really appreciate an invite.