tkeats Posted February 26, 2003 Share Posted February 26, 2003 (edited) I have been looking at the paypal module code and considering how to modify it to work with stormpay.com. I have yet to come to the realization that is required to make the changes required. The following is a snippet from their website for passing data... You can place certain Link Codes on your website or in your e-mail to have a user automatically taken to the Stormpay site to make a payment. The user can also be re-directed back to a webpage you specify in the link code. Following is a list of the hidden variables (with description) you can set in the link code used to connect to Stormpay... ? product_id: Set this variable with the unique Product ID you received when you first created a product. ? user: Set this variable with the E-Mail address you have registered with Stormpay. ? flag: Set this variable with a number (1, 2, 3, etc) to indicate to Stormpay the type of operation to carry out. ? affid: Set this variable to the affilliate ID of your customer. If the "return_URL' (below) is not set, the value in this variable will be appended to the end of the (default) Return URL you have stored at StormPay. ? return_URL: This would give ANY user the flexibility to indicate "on the fly" what the return URL must be for a successful completion of a (payment) process through StormPay. A Client can thus insert the affid in the return_URL ANYWAY they choose. i.e. the affid is included in the return_URL before it is sent to StormPay. If the return_URL variable is NOT set but the affid is set, then StormPay will default to using the ReturnUrl stored in the database for the Client, and will APPEND the affid to the end of that URL (as the default behavior) ? cancel_URL: You can set a special cancel_URL to this variable if they wish for the user to return to a special page should the user cancel the operation. If this value is not set, then StormPay will default to using the ReturnUrl stored for the Client. To access the StormPay (payment) process, you have to call HANDLE.PHP on the StormPay site. You may access the StormPay process handler file (handle.php) with codes like in the following example... <form method="post" action=https://www.stormpay.com/stormpay/handle.php"> ?<input type="hidden" name="product_id" value=9999> ?<input type="hidden" name="user" value= "Your StormPay Email goes here"> ?<input type="hidden" name="flag" value=3> (1,2,3,4, etc for type of operation) ?<input type="hidden" name="affid" value="Afilliate ID goes here"> ?<input type="hidden" name="return_URL" value="http://foo.net/<AfilliateID>/update.php"> ?<input type="hidden" name="cancel_URL" value="http://foo.net/cancel.php"> ?<input type="image" src="https://www.stormpay.com/stormpay/images/PayNowSP1.gif"> </form> If anyone can aid in this it would be appreciated.. Thomas Edited December 22, 2003 by Johnson Quote A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2003 Share Posted March 16, 2003 Has anyone gotten a StormPay module working? Quote Link to comment Share on other sites More sharing options...
AuraDev Posted March 24, 2003 Share Posted March 24, 2003 A client of mine called and wanted stormpay to be a payment option. Email me next week and ask if I am finished yet. Quote Link to comment Share on other sites More sharing options...
AuraDev Posted April 2, 2003 Share Posted April 2, 2003 Couldn't figure it out. Sorry guys. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2003 Share Posted July 23, 2003 I have just got the StormPay mod to work on my site. If anyone wants to try it out PM me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.