donation-samp-1.JPG
I am trying to add a donation feature for a charitable organization that we support. I know there is a Donation Manager app but I was wondering if I could use Order Custom Fields to add a field on OSEL, so that I can show a 'round up' amount (if the sale is 26.89 show them a 'Would you like to round up your sale to $27 and donate .11 cents to KureIt? You can also donate another amount or leave blank and no donation will be added.' above the field as a comment so they can leave it blank (no donation), enter the round up amount or any other amount.
I was wondering if someone can at least help me sort the idea out so I don't spend an inordinate amount of time only to find out there was something obvious I missed.
-I tried adding the field using the sample code from the Order Custom Fields documentation but it was not passed to OPAY. I didn't notice any specific mention in the documentation of where to put this on the OSEL page so perhaps I messed up? Do I need to create any additional fields or explicitly add it to the basket it in OSEL?
-The fee needs to be added as a separate item in the basket so that they can remove it if they go back and then decide they want to give a different amount or want to remove it.
-Any clues on how I can handle the 'round up' portion?
Thank you.
Burt
I am trying to add a donation feature for a charitable organization that we support. I know there is a Donation Manager app but I was wondering if I could use Order Custom Fields to add a field on OSEL, so that I can show a 'round up' amount (if the sale is 26.89 show them a 'Would you like to round up your sale to $27 and donate .11 cents to KureIt? You can also donate another amount or leave blank and no donation will be added.' above the field as a comment so they can leave it blank (no donation), enter the round up amount or any other amount.
I was wondering if someone can at least help me sort the idea out so I don't spend an inordinate amount of time only to find out there was something obvious I missed.
-I tried adding the field using the sample code from the Order Custom Fields documentation but it was not passed to OPAY. I didn't notice any specific mention in the documentation of where to put this on the OSEL page so perhaps I messed up? Do I need to create any additional fields or explicitly add it to the basket it in OSEL?
Code:
<input type="text" name="OrderCFM1" value=""> <input type="hidden" name="OrderCFMRequired" value="1">
-Any clues on how I can handle the 'round up' portion?
Thank you.
Burt
Comment