Flow of payment gateway

4 years 4 months ago #315488 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
Ok - thanks. Another thing - everything seems to work in the new gateway plugin - but - if I look at the controlpanel of CBSubs where there should be some totals for amounts it only says "DKK -" what am I missing here to get the total amount updated? Is this something that must be triggered from the gateway plugin ?

Please Log in to join the conversation.

4 years 4 months ago #315501 by krileon
Replied by krileon on topic Flow of payment gateway
You mean under "Last 7 days payments" or on the payments page? What page specifically are you seeing incorrect amounts? The amount is pulled from the payment row so as long as the payment was logged correctly there should not be a problem.


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 to join the conversation.

4 years 4 months ago - 4 years 4 months ago #315628 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
Hmm.. well obviously something is wrong with the logging of the payment:



Theese four payments are respectively the first payment of a recurring payment and the next three - but it seems they are not logged correctly - all are placed in the sinlge payment column??. The code is more or less a copy from ccbill gateway - but maybe that is not working as well ?
Attachments:

Please Log in to join the conversation.

4 years 4 months ago #315647 by krileon
Replied by krileon on topic Flow of payment gateway
DKK is Danish Krone. Only reason for it to store that as the currency is that was the currency returned by the payment gateway, which is mapped to the basket in _returnParamsHandler. The basket would also have to be set to that currency otherwise the payment would be rejected due to currency mismatch. Check _cbsubs_payments and _cbsubs_payment_baskets database tables then verify that mc_currency is correct.


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 to join the conversation.

4 years 4 months ago #315670 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
The mc_currency is correctly DKK in both tables, so that is not the problem, but.. I see that mc_gross and payment_gross differ ?? mc_gross is set to the recurring amount (600) but payment_gross is still set to the amount of the first payment (1100)

But the payment_amount is not set anywhere in the gateway code ??
Attachments:

Please Log in to join the conversation.

4 years 4 months ago #315678 by rbuelund
Replied by rbuelund on topic Flow of payment gateway
Just tried to make an upgrade of a subscription and sign up for autorecurring. Then I get theese two results in basket and payments:



In the basket there is a figure both in Amount single payment and Recurring column (Is that correct) and under payments the payment is only registered as a Amount single ??
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.961 seconds

Facebook Twitter LinkedIn