News:

Support the VirtueMart project and become a member

Main Menu

Payment/shipping method API key (passkey)

Started by Stephen Roberts, December 13, 2011, 21:07:38 PM

Previous topic - Next topic

Stephen Roberts

I haven't seen any discussion of this anywhere, but I would like to be able to store my API key safely in the database for my payment plugin. vmPSPlugin has the get_passkey() method, but it doesn't appear to be functional unless I'm missing something. It's necessary for both shipping and payment plugins to be able to safely store the API keys, so how should we go about doing so?
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

alatak

Hi,

QuotevmPSPlugin has the get_passkey() method,
Yes you are completly rigth. I left that code there, because it was there from before. But I have no idea if it works, because I have not used yet.
May be I should just remove it.

The idea is that the payment plugins should implment themselves their specific functions.
If there is a function that you feel is common to several payment or shipment plugins, then submit it to me. I will check , and may include it in the code.


Stephen Roberts

Cool. I say finish what you're working on so we can get a final release of VM2 before we talk about adding new stuff. We can always come back to this later. Thanks!
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

alatak

hi,
QuoteCool. I say finish what you're working on so we can get a final release of VM2 before we talk about adding new stuff. We can always come back to this later. Thanks!
yes let's do the final first :)