Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Alternative to Paypal modules..?


tkeats

Recommended Posts

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 by Johnson

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

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 3 months later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...