sm4pk wrote:Hi
I am also struck in the credit card payment plugin , MVC is new for me.
I don't understand that how to handle post back url. I see your questions in the forum, I face the same problem.
If you share your plugin with me its a great help for me to complete my plugin.
I shall be very thankful to you for this act of kindness.
Waiting your earliest response.
My Email address is
[email protected]Thanks
Thanks for seeking help.
In the return method collect all the parameters sent by Payfort using FormCollection.
access_code = Request["access_code"];
amount = Request["amount"];
command = Request["command"];
currency = Request["currency"];
customer_email = Request["customer_email"];
language = Request["language"];
merchant_identifier = Request["merchant_identifier"];
signature = Request["signature"];
response_message = Request["response_message"];
orderId = Request["merchant_reference"];
card_number = Request["card_number"];
customer_ip = Request["customer_ip"];
customer_name = Request["customer_name"];
eci = Request["eci"];
expiry_date = Request["expiry_date"];
fort_id = Request["fort_id"];
payment_option = Request["payment_option"];
response_code = Request["response_code"];
status = Request["status"];
number_of_installments= Request["number_of_installments"];
These were the parameters which I was getting.
Use requestb.in to check which parameters are being sent.
Also enter the Return URL in Payfort settings properly.
I was using the wrong return URL due to which I was not getting the results.
Reply if you face any further problems.
Regards.