I dont understand payment process for non-background payment systems.
I check fn_start_payment , and it works fine for some kind of payment systems that we can get result of payment imediately
But i dont know how it works for another payment systems like Paypal that gateway will inform cs-card by calling a SuccessURL or ErrorUrl.
In my case, it happen like below :
1-fn_start_payment will set TYPE field to ‘S’
2-then will call payment processor
3-and then call fn_finish_payment
so if i set $pp_response in payment processor, the fn_finish_payment work successfully
But its not possible, because i need to wait until BANK return results,
and when i receive results in payment processor and call fn_finish_payment
it does not work! why? because the TYPE field is not ‘S’ anymore and its ‘R’ , so fn_finish_payment will fail because it look for ‘S’ value in TYPE field.
[quote name=‘IceProgrammer15’]Thanks a lot for your help.
I dont understand payment process for non-background payment systems.
I check fn_start_payment , and it works fine for some kind of payment systems that we can get result of payment imediately
But i dont know how it works for another payment systems like Paypal that gateway will inform cs-card by calling a SuccessURL or ErrorUrl.
In my case, it happen like below :
1-fn_start_payment will set TYPE field to ‘S’
2-then will call payment processor
3-and then call fn_finish_payment
so if i set $pp_response in payment processor, the fn_finish_payment work successfully
But its not possible, because i need to wait until BANK return results,
and when i receive results in payment processor and call fn_finish_payment
it does not work! why? because the TYPE field is not ‘S’ anymore and its ‘R’ , so fn_finish_payment will fail because it look for ‘S’ value in TYPE field.
If anyone can explain it a bit, it can be great [/QUOTE]
Hello, IceProgrammer15
Are you able to sort this issue. We are also facing the same.