View Issue Details

IDProjectCategoryView StatusLast Update
0005809mantisbtsponsorshipspublic2005-09-11 08:12
Reporterthraxisp Assigned Tothraxisp  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a3 
Fixed in Version1.0.0rc1 
Summary0005809: Sponsorship should track payment state
Description

The sponsorship system should track whether a payment has been requested, and paid.

This information should be displayed where the detailed sponsorship information is shown. A button to update the status could also be placed there.

TagsNo tags attached.
Attached Files
Picture 5.png (39,969 bytes)   
Picture 5.png (39,969 bytes)   

Relationships

related to 0006088 closedvboctor Sponsorship should allow payment by PayPal et al 

Activities

vboctor

vboctor

2005-06-17 23:28

manager   ~0010575

Ideally we should integrate with PayPal and when the PayPal notification is received we automatically mark the sponsorship as paid.

thraxisp

thraxisp

2005-06-19 15:04

reporter   ~0010581

In looking at this further, I'm thinking of implementing a new page under "My Account" to track sponsorships. It will only be visible if the user has "handle_sponsored_bugs_threshold" access. It will list all of the issues where the user has handled an issue, and the issue is now resolved, along with the sponsorships. The paid status will be updatable from this page.

Paypal messages go back to the originator. I'm not sure how to parse these by a separate mantis installation.

vboctor

vboctor

2005-06-20 07:18

manager   ~0010583

Checkout the SDKs at:
https://www.paypal.com/pdn

They have a PHP SDK. You will need to support the IPN which are the notifications sent by PayPal to notify a website of payment success or failure. The PayPal will have a reference number that should be recognised by the site.

I like your idea about My Sponsorships, but we need also a "Pay Now" for users who have an active sponsorship. Also we should have a PayPal icon for users who have developer access and have a PayPal email account. Hence, users should be able to donate to developers, or pay sponsorships from within the Mantis interface.

thraxisp

thraxisp

2005-06-21 17:04

reporter   ~0010597

Screen prototype added. Each section would only be visible if there were issues fitting it's description.

vboctor

vboctor

2005-06-22 09:08

manager   ~0010604

Following are my comments on the posted screenshot:

  • There should be a way to browse to the other sub-modes for My Account.
  • This page should be visible if:
    a. $g_enable_sponsorship = ON.
    We probably should base the visibility of the sub-sections on whether there are matches. Although a user may not have the access level, he may have had it before, or have it for some of the project (in case All Projects are selected).
  • "You have handled" replace with "Assigned To You".
  • What filtering criteria are you using?
  • What sorting criteria are you using?
  • We probably should support "paid amount" rather than paid or unpaid. In some cases, the sponsor may pay a downpayment, then pay the rest on completion.
  • For the issues sponsored by me, it may be useful to show the total sponsorship for this issue. For example, US$50 for my sponsorship, but US$100 total.
  • I assume that the issues background color will reflect the status.
  • You may want to consider totals like paid and outstanding.
thraxisp

thraxisp

2005-07-02 22:39

reporter   ~0010658

I have implemented all of the comments except:

- What filtering criteria are you using?
Sponsorships offered/assigned to the user where the issue is at or beyond the "resolved" state are listed.
- What sorting criteria are you using?
paid (unpaid, requested, then paid), project, fixed in version, status, then bug id
- We probably should support "paid amount" rather than paid or unpaid. In some cases, the sponsor may pay a downpayment, then pay the rest on completion.
I will think about this for the next pass
- For the issues sponsored by me, it may be useful to show the total sponsorship for this issue. For example, US$50 for my sponsorship, but US$100 total.
This looked cluttered when I tried it. It's simple to add though.

I'll implement PayPal (or other payment automation) in the next pass. For now, the handler can set the payment status manually. We need this to handle older, already paid sponsorships anyways.

thraxisp

thraxisp

2005-07-03 11:12

reporter   ~0010662

Code submitted to CVS.

account_sponsor_page.php -> 1.1
account_sponsor_update.php -> 1.1
bug_sponsorship_list_view_inc.php-> 1.12
config_defaults_inc.php -> 1.275
core/constant_inc.php -> 1.51
core/history_api.php -> 1.32
core/html_api.php -> 1.173
core/sponsorship_api.php -> 1.6
lang/strings_english.txt -> 1.260