can someone guide me in integrating payment gateway like razorpay in constellation
@MAHIDHARSAIG17260558 To integrate Razorpay in a Pega Constellation app, first create a Razorpay account and generate the API key and secret. Use the Razorpay Checkout.js script in a Constellation Web Embed section or a custom UI component. When the user clicks the “Pay” button, call a Data Page that triggers a Connect REST rule to create an order from the Pega server using Razorpay’s /orders API. Pass the order ID and other required parameters (amount, name, email, etc.) to the Razorpay checkout widget. On successful payment, Razorpay returns a payment ID, which should be sent back to the Pega server for verification. Create another REST integration to call Razorpay’s /payments/:id/verify API. Finally, update the case status based on the payment result. Always make sure to secure API secrets and handle failure scenarios