Phone pe payments with rest-api
-
Hello Bagisto Team,
I am using rest-api to server my application. I want to use PhonePe as a payment gateway in my application. While working with all checkout APIs, I found that there is the only API to save the order which is
/api/v1/customer/checkout/save-order
But this API do not accept any data related to transaction id and transaction data.
Can you please guide me on what I need to do in terms of doing so? I want to save the transaction related to the order while saving the order.
Thank you
-
Hello @marshalbagisto,
As we check the
save-order
API, the API will get only ID as a parameter for now. If you need to pass more parameters as per your need, you can just override the function in your package/module and use the function as you wanted.You can take a reference to override the function.
Blog Link : https://bagisto.com/en/how-to-override-controller-in-bagisto/