Custom Payment Provider - Ecommerce - Ecommerce - Progress Community

Custom Payment Provider

  • Custom Payment Provider
  • Hi,

    I built a custom payment provider and it seems to be working fine so far.

    However, I was expecting the authorization code to show on the invoice widget (PaymentResponse.GatewayAuthCode). Should it be there? How do I get it to show to the user.

    On a similar note, if the payment fails (PaymentResponse.IsSuccess = false), the checkout widget displays a "Modify your payment settings" link with no other information. I set the PaymentResponse.GatewayAdditionalResponse to the actual message, but how to I get it to show to the user? Should I be using some other properties?
  • Anyone?
  • Hi Pierre Alain,

    I apologize for the delay in response.
    To show the GatewayAuthCode on the invoice, go to Backend->Design->Widget Templates then look for Order Invoice template and paste the below snippet after Payment method.
    <div class="GateWay">
                                Gateway Auth Code:<%# string.Join("<br />", ((IList<OrderPayment>)Eval("Payments")).Where(op => op.SuccessfulPayment).Select(op => op.GatewayAuthCode)) %>

    For showing more detail on a failed payment, please set GatewayResponse field. This text gets shown to the user in case of failed transaction.

    Venkata Koppaka
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Works great. Thank you.