Skip to Content Skip to Menu

trying to get the refund link to show for paypal transactions.

  • rgjoyce
  • rgjoyce
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
7 years 10 months ago #288691 by rgjoyce
I've come across documentation showing about the refund link in the payments table, but I cannot find how to get it turned on.
I can see the view coded in the plugins XML file but no way to activate it.
Can you please show me how to activate the refunds link because we are developing a payment plugin that the client has specifically asked for the refund functionality to be working.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
7 years 10 months ago #288710 by krileon
To display the link it's just those couple lines of XML. See the below for example.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/dummy/edit.gateway.xml

Specifically the below.

Code:
<view name="paymentstatusinformation" type="params" ui="admin"> <showview view="paymentrefundbutton" mode="view" type="view" /> </view>

The processing of the refund is done by the refundPayment function of the gateway. See the below for example.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/dummy/cbpaidsubscriptions.dummy.php


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.

Moderators: beatnantkrileon
Powered by Kunena Forum