News:

Looking for documentation? Take a look on our wiki

Main Menu

Beanstream Payment Gateway

Started by rayge, April 11, 2012, 17:06:20 PM

Previous topic - Next topic

rayge

Does anyone have or know where i can get the beanstream payment gateway plugin for VM 2.0?
If not I will have to write one which could take days and I dont really want to mess with it to be honest as i haven't coded a payment gateway for VM before.

UPDATE: I have written the plugin and is available for download here. Remember to login to see the attachment.
Install through the Joomla extension manager.
Then search for and enable the plugin VM Payment - beanstream
at that point you can go into virtuemart and add a new payment processor and beanstream will show up.

[attachment cleanup by admin]
I Use: Joomla 3.4.1 & VM 3.0.9

mjel

Hello,

I need the same - I had a payment plugin developed for a client for 1.1.x - but as i understand - vm 2.x being a total rewrite - that the payment plugin needs to be developed again from scratch.

the development company I used specialize in making payment plugins - and they have a system where you sponsor the development of the plugin for 200 - and they develop it at that cost (normally would be more than 200) then they sell it on their site for approx $30 ---

would you like to share the cost of this plugin development?

PM me here if you would -

rayge

since i only have 2 days I think i will be trying to code it myself. If i can get it working I would like to release it in some way to the group.
I Use: Joomla 3.4.1 & VM 3.0.9

mjel

Hello,

It seems this version of virtuemart is more commerical than the last with respect to payment plugins and shipping modules -- not a bad idea since the cost is usually pretty low - i dont' think the dev that is set to do the work can turn it around that fast - would love to have a look at what you do should you get it working - perhaps an extension on the main joomla extenstions website would be good - I can contribute $50 to you if you devlelop a working plugin that i can use --

are you planning on using the hosted payment page - or will you process within your site? -- i think you can wrap the hosted payment page in your site - and remove the liablity of storing credit card data without takign the user away from your site???

let me know if I can assist in any way - i ha

rayge

Well i looked at the api PDF document here
https://files.pbworks.com/download/BPdNV8DJKk/beanstream-manuals/37592606/BEAN_API_Integration.pdf?ld=1
and saw sample PHP code using CURL which is what Authorize.net requires as well.
This would keep us from having to use a setup like paypal where you are redirected and instead it just stays on the site. (I hope)

so im duplicating the plugin used for auth.net and modifying it for use for beanstream and this sample code.
The admin side of it is complete as far as requirements I believe all you need is the merchant id as far as that is concerned.
I have a sandbox merchant ID so i can test away.
the hard part may be testing some purchases and logging the responses.

Fingers crossed that I can get it working :P
hope all that made sense!
I Use: Joomla 3.4.1 & VM 3.0.9

rayge

I was able to build off the auth.net payment gateway and successfully test some purchases through a sandboxed beanstream account.
for the most basic of processes I can say i have a completed payment gateway for beanstream.

You mentioned you had a script written for the 1.1x version of VM.
would you be willing to let me look at it JUST for the fact that there are so many message codes Im not quite sure how to handle them since they are for different circumstances.

I Use: Joomla 3.4.1 & VM 3.0.9

mjel

I did send this to you via email -- did you get that?

i think i can attach it here

give this a try - it was functioning when I last used it on joomla 1.5 - vm 1.1.9



[attachment cleanup by admin]

rayge

Weird no i didnt get anything. and ok i downloaded it. I will look and see if there is anything i can incorporate into this then i will zip mine up and post it here too.
I Use: Joomla 3.4.1 & VM 3.0.9

rayge

#8
mjel
Looks like they used a different approach than I did so really i didnt see anything i could use. Maybe thats a GOOD THING?  :)
anyway Ive attached the plugin.
I have only tested it using a sandboxed merchant id only but i HAVE added (UNTESTED)
the ability for an API username and password
as well as MD5 Hash
I am releasing this as OPEN SOURCE and I URGE any developers to please see if this can be improved upon as I will not be handling support for this but I may take suggestions to improve it.
I Use: Joomla 3.4.1 & VM 3.0.9

mjel

Great,

I would like to assist you in support this via a support forum or something of that nature so that the community can provide support rather than you as you have stated.

I like Beanstream and will guide all my clients to use Beanstream and VMart for the ecommerce solution.

I will test away and give you any testing feedback I have - i have a sandbox account as well with Beanstream.

sorry to ask for support - but trying to figure out how to install - i installed the zip using the standard joomla installer which successful installed - but i don't see it in the dropdown when i created a new payment method - could you shed some light on how you have set this up

rayge

Its just like any other plugin. once installed it is disabled by default. find and enable it in the plugins list.
I Use: Joomla 3.4.1 & VM 3.0.9

mjel

I see - I am liking this new version of joomla and vmart -- great foundation and great improvements.

Look forward to collaborating with you further - i build on joomla platform almost exclusively and am very busy development business based around open-source.

mjel

Great - i have the plugin published and added as  a payment method -

i have logged into my beanstream sandbox account - and created a hash key and checked the box for this value to be used for validation --

however - when i configure my beanstream account info (company login, user login/pass, hash key -- and hit save --- the company login value stays - but the user/pass/hash values are not saved --- did you get this ??

mjel

I should have noted,

the labels are looking like they are not reading - i assumed that you just had not got to this point yet but perhaps i may have permissions issues that are messign up the saving of my parameters

VMPAYMENT_BEANSTREAM_MERCHANT_ID   
VMPAYMENT_BEANSTREAM_API_USER   
VMPAYMENT_BEANSTREAM_API_PASS   
VMPAYMENT_BEANSTREAM_MD5_HASH


????

rayge

Hmm maybe the language file didnt get copied?
I Use: Joomla 3.4.1 & VM 3.0.9