VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Stephen Roberts on December 13, 2011, 21:07:38 PM

Title: Payment/shipping method API key (passkey)
Post by: Stephen Roberts on December 13, 2011, 21:07:38 PM
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?
Title: Re: Payment/shipping method API key (passkey)
Post by: alatak on December 14, 2011, 09:16:19 AM
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.

Title: Re: Payment/shipping method API key (passkey)
Post by: Stephen Roberts on December 14, 2011, 16:10:59 PM
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!
Title: Re: Payment/shipping method API key (passkey)
Post by: alatak on December 14, 2011, 16:54:42 PM
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 :)