ASPX templates
Version 4.x > ASPX templates > donation piece View modes: 
User avatar
Member
Member
AP-Kentico - 9/14/2009 12:14:54 PM
   
donation piece
Hi,

I am planning to add a donation piece to my test site.
I plan to use products as donation. On add to shopping card it should take me to a bizform where I fill out some details and submit. The submit will take me to the rest of the donation steps to complete the paypal payment.

Please let me know if this can be achieved via kentico and is this a recommended way to do it. I plan to do least amt of customization as possible.

Thanks,
AP

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 9/30/2009 8:58:08 AM
   
RE:donation piece
Hello,

You can create simple BizForm with one field for amount of donation and in OnAfterSave event handler of BizForm put custom code to ensure redirection and passing of the information to custom payment gateway (http://devnet.kentico.com/docs/ecommerceguide/index.html?developing_custom_payment_gate.htm)

You can also find information mentioned in Direct PayPal payment article useful.

Best Regards,

Martin Dobsicek



User avatar
Member
Member
AP-Kentico - 10/6/2009 3:23:57 PM
   
RE:donation piece
Hi,

As there is only one page with very few fields, I am redirecting the user to an aspx page which has form action for the paypal with hidden variables with values.

I want to access following in the custom bizform control:

bizform's FormRedirectToUrl property,
email address for the merchant's paypal account specified in the business in site manager->payment gateway-paypal,
Payment gateway URL specified in the cms desk->e-commerce->configuration->paypal..

Thanks,
AP

User avatar
Member
Member
AP-Kentico - 10/6/2009 3:36:11 PM
   
RE:donation piece
I figured this out.
Thanks,
AP