Skip to Content Skip to Menu

Flow of payment gateway

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 559
  • Thanks: 38
  • Karma: 4
4 years 7 months ago #314729 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
And by the way - Stripe is more expensive to use so that is also the reason not to use that. Also danish customers are more confident with a danish system when paying online.

Please Log in or Create an account to join the conversation.

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 559
  • Thanks: 38
  • Karma: 4
4 years 7 months ago #314735 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
I have narrowed it down to that the massexpire url woks, but when I afterwards press th autopayments link (under CBSubs settings), then I can see that the $baskets object is empty in this piece of code:

public function triggerScheduledAutoRecurringPayments( $limit ) {
$results = array();
$baskets = $this->loadMaturedBaskets( $limit );
foreach ( $baskets as $b ) {
$results[] = $b->triggerScheduledAutoRecurringPayment();
}
return $results;
}

But I do not see why - i believe it should contain my expired auto-renew-subscription ??

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
4 years 7 months ago #314746 by krileon
Replied by krileon on topic Flow of payment gateway
If Quickpay is using the built in recurring payments scheduler in CBSubs then you'd use processAutoRecurringPayment to handle paying recurring payments. Otherwise if it uses IPNs and Quickpay handles the recurring payment on their end then notifies your site you'd use handleNotification which is just calling _returnParamsHandler to handle marking the basket as renewed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 559
  • Thanks: 38
  • Karma: 4
4 years 7 months ago - 4 years 7 months ago #314747 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
Quickpay is using the built in recurring payments scheduler in CBSubs. So what you say is that I add the function processAutoRecurringPayment to the gateway file and handle the payment there ? Which params are sendt to the function ?
Last edit: 4 years 7 months ago by rbuelund.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
4 years 7 months ago #314749 by krileon
Replied by krileon on topic Flow of payment gateway
You need to be using an IDE and just Ctrl + Click the extend class cbpaidHostedPagePayHandler at the top. This will give you all the available functions and their parameters. The following gateways are the only gateways using the scheduler for hosted gateways so you maybe able to use those as starting points.

CCBill
Moneris Select Plus


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 559
  • Thanks: 38
  • Karma: 4
4 years 7 months ago #314750 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
Ahh.. looking at CCBill did the trick. I Think I've got it now, but how do I test it without having to wait 7 days before the subscription expires ??

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn