Author Topic: Payment/shipping method API key (passkey)  (Read 2160 times)

Stephen Roberts

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 142
    • SundaySchool.com
Payment/shipping method API key (passkey)
« 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?
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: Payment/shipping method API key (passkey)
« Reply #1 on: December 14, 2011, 09:16:19 am »
Hi,

Quote
vmPSPlugin 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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 142
    • SundaySchool.com
Re: Payment/shipping method API key (passkey)
« Reply #2 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!
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: Payment/shipping method API key (passkey)
« Reply #3 on: December 14, 2011, 16:54:42 pm »
hi,
Quote
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!
yes let's do the final first :)