- Posts: 257
- Thank you received: 34
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Calum wrote: 2 questions that I suspect you just know but I can't quite figure out...
1. How / where are things like the Credit Card Number defined as fields to display for the plugin? More specifically I want to collect a bank account sort code and bank account number. Like Credit Card Details I don't want these in my database - I want to pass them straight through to the Payment Gateway. I'm guessing thats how GoCardless is already configured? So what do I put where to get some fields!
2. My first draft of the processor says its not recurring - but I can't find where that's set either..
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Tuan Pham Ngoc wrote: I have one customers need recurring payment with GoCardless, too
Would it be OK if I give him your contact so that you can give him the payment plugin (which support recurring payment) - for a small fee I guess as I don't think he could afford to pay much
Please let me know
Tuan
Please Log in or Create an account to join the conversation.
So if I was to use type=2 I could create a new type of fields? What is the likelihood of core component using type=2 in the future? (I will of course share the code back so it could go in core but no guarantee you'd want it!)Tuan Pham Ngoc wrote:
(Note 'type' = 1 in the config tell Membership Pro that it is credit card based payment plugin, so when subscribers choose the method, credit card information will be displayed...)Code:public function __construct($params, $config = array('type' => 1))
Would be easier! But their payment form seems to let too many variables be changed (i.e. first payment date)- Redirect base payment plugin. For these kind of payment plugins, users will be redirected to payment gateway for processing payment (for example, PayPal). For this kind of payment plugin, the constructor has looks like this:
Aha - was assuming it'd be a configuration param on the plugin!#__osmembership_plugins table, find the record related to your payment plugin, set support_recurring to 1 and it will be recurring payment plugin (you would have to implement the code to process recurring payment - sorry, haven't had a documentation for that part yet)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Calum wrote: PheonixUK - you are very welcome to jump in. I'm not using GoCardless. (that'd be too easy!).
Are you entering Sort Code and Bank Account on GC's website via a redirect or on your own site and passing it over via an SSL certificate?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.