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: https://developer.phonepe.com/v1/reference/pay-api
Thank you very much for your time and support. I look forward to your guidance and expertise on this matter.