Click To Pay Demo

Your customer would NOT normally see the following fields in the Click To Pay interface.
They are exposed to help you understand how the Click To Pay interface works.

Normally all (or almost all) of these fields should be type='hidden' fields.

Field NameValueNotes per Field
payee_account your account number; will be displayed on preview/confirm pages
payee_name this will be displayed on preview/confirm pages, regardless of the name listed in your account info
forced_payer_account optional; will be displayed on preview page where customer would normally enter their account number, and on the confirm page
payment_amount will be displayed on preview/confirm pages; this might not be hidden if you want to accept donations or otherwise allow the payer to choose the amount
payment_units will be displayed on preview/confirm pages; this might not be hidden if you want to accept donations or otherwise allow the payer to choose the amount
any unrecognized field name any unrecognized field name/value will be passed back to your website, but otherwise ignored
status_url this value can start with "http://" or "https://", in which case the status data will be posted to the given url, it can also start with "mailto:" if you cannot process form data ; see the c-gold Verify Hash calculator for how to calculate the verify hash; this contact is attempted ONCE, and any response by your website is ignored; if your website is not available and able to process the data, you will have to log into c-gold.com to verify the payment manually
payment_url this is where your customer's browser should be directed after a successful payment
payment_url_method "link" indicates that no form data should be sent back, but only a link should be provided to direct the customer back to your website; for "get" and "post", Click To Pay will send fields back to your website using the indicated method
nopayment_url this is where your customer's browser should be directed if for any reason the customer has not paid your c-gold account
nopayment_url_method "link" indicates that no form data should be sent back, but only a link should be provided to direct the customer back to your website; for "get" and "post", Click To Pay will send fields back to your website using the indicated method
suggested_memo will be initially placed in the memo field of your customer's transaction order, but the customer will be able to change it
Clicking this button will take you to the REAL Click To Pay interface - it's ok - CLICK IT! Change the fields above, play with it, see how it works! any name and/or value can be used to submit the form; as long as the form is posted, the value of the submit button will be ignored

Notes for using this Click To Pay Demo

  • FREE test payments. Just make a payment to yourself, and you will not be charged a transaction fee.
  • Note that this form leads to the real Click To Pay interface, so you can see how the system actually responds to a successful transaction, invalid passwords, non-existent account numbers, etc.
  • Notice that most or all of these fields should be hidden in your checkout form. What the customer sees could be as simple as one button!
  • Any invalid values will result in an error message, and the customer will be given the option to return to your website via the nopayment_url.
  • If you use mailto: as your status_url, please be sure to verify the payment, as it is very easy to spoof an email message. It is highly advisable to verify every payment, regardless of the type of status_url you use.
  • All incoming field names are converted to lower case, so you can use upper or lower case or any mix, as you prefer.