...
- Sending Web Application - application that redirects customer to payment page
- UPAY_SITE_ID
- Required; upon uPay Site creation, a Site ID value is generated
- Value must be sent with the customer to Marketplace
- EXT_TRANS_ID
- Strongly recommended; must send this key/value to get a reference value in the postback to know what/who payment is for, which invoice number this payment applies to
- EXT_TRANS_ID_LABEL
- Optional; allows you to label this value for the customer in a way that is relevant
Code Block <input type="hidden" name="UPAY_SITE_ID" value="$upay_site_id"> <input type="hidden" name="EXT_TRANS_ID_LABEL" value="$ext_trans_id_label"> <input type="hidden" name="EXT_TRANS_ID" value="$ext_trans_id">
- UPAY_SITE_ID
- Postback Web Application - decide if using a separate web application to process postback results of the payment transaction; need to verify postback functionality of the payments submitted
Create uPay site in the TEST environment; fill in the following sections:
Info In TEST, you will be creating your uPay from scratch. In PRODUCTION, a skeleton uPay site is created.
Tip Not exhaustive. For reference Reference with tips to assist with development.
- Miscellaneous
- Posting URL - Is the web application that Marketplace will send the postback payment results to; it does not have to be the same URL as your original web application used for sending the client to Marketplace; make sure any necessary firewalls rules are in place to allow TouchNet to access this web application
- Additional Posting Value - Not viewed by anyone but your postback application and is meant to allow you to validate the source of the postback HTTP POST
- Success Link URL - Button; where customers go after their payment has completed
- Error Link URL - Only used for system errors
- Cancel Link URL - Button; where customers go when they click the cancel button
- Email Messages
- Payment Notification Signature Text - Shows in signature block of the notification of payment email the user receives
- If empty, defaults to Site Name (which may not be good choice for signature)
- Payment Notification Signature Text - Shows in signature block of the notification of payment email the user receives
- Messages & Titles
- Payment Settings
- Required encoded validation key for amount - If using a default payment amount, you do not need to enable this
- Passed Amount Validation Key - If using a default payment amount, you do not need to populate this
- Default Payment Amount - If using a default payment amount, you MUST enter a value here (no dollar signs, e.g. 100.00)
- Payment Amount Prompt - If using default payment amount, this prompt is not displayed anywhere
- Images - Upload your header, footer, and sidebar (optional) images here; you can test your payments without this at the beginning
- Style Sheets - Optional; upload your style sheets here if you’re using them
- Users - Do not edit anything here
- Miscellaneous
- Change the status of your new uPay site to "Enabled" - this is changed in the Miscellaneous section
...
- Use the "uPay test page" (uPay TEST URL information) to verify your uPay setup
- Test credit card numbers
- Review the posted payments in Marketplace reports
- Navigate to the Payment Search
- Search for your payment, usually by "Order Date" range
- Verify results
- Navigate to Marketplace Reports » uPay Sites » <uPay Site Name>
- Revenue
- By Product
- Verify results
- Navigate to the Payment Search
- Review the posted payments in Marketplace reports
- Test your sending web application - set the form action value to the "uPay posting URL"
- Test your postback processing - you will get back an assortment of key/value pairs depending upon your uPay site configuration
- Once your end-to-end testing is successful, you are ready to move to setting up the production environment
...