Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I wanna hack an existing payment module to generate this payment url:

 

https://www.payson.se/prod/SendMoney/defaul...&BuyerPaysFee=1

 

 

syntax: URL+Freetext+Shopemailaddress+Cost+Whopaysfee

 

the variables to play with:

 

&Description=Freetext <- I want this to get FirstnameLastnameOrderIDn (where n is the order number) when hitting confirm order

 

&sellerEmail=Shopemailaddress%40domain.com <- This needs to be a fixed variable, set in admin

 

&cost=999,50 <- The aggregated total from the cart

 

&BuyerPaysFee=1 or &SellerPaysFee=1 <- The variable is Buyer or Seller and needs to be a fixed variable and set in the admin section.

 

 

The cart needs to emptied and the page reloaded to a thank you page after the url is sent upon confirm order. There is no return function from this payment service. If there is any standard way to do this in Osc I'd like to use it.

 

 

 

My question is - which payment module would be easiest to hack into this functionality? Or is there some well-documented codebase i could use?

 

Thanks a mill for any help!

 

Ben

Edited by benfiesta
Posted

Hi Ben,

 

I've dabbed around in a similar way, the iPayment module is a good start to generating custom URLs.

 

Never got mine to work, but give it a try ;)

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...