Loading...
 
Skip to main content

after paypal payment, the user is shown his own payment invoice as "outstanding" instead of "past", until new page refresh in 12.x or always in 15.x

Status
Closed
Subject
after paypal payment, the user is shown his own payment invoice as "outstanding" instead of "past", until new page refresh in 12.x or always in 15.x
Version
12.x
15.x
15.x Regression
Category
  • Usability
Feature
Shopping cart and payment
Resolution status
Partially solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(1)
Description

after paypal payment, the user is shown his own payment invoice as "outstanding" instead of "past", until new page refresh

cache should be cleared or something when paypal comes back to the user. so that the user sees his/her own payment in the tab "Past", and not in "Outstanding"

For some reason, the show.t.o instance here hist another error:

Copy to clipboard
Fatal error: DateTime::diff() must be derived from DateTimeImmutable::diff in Unknown on line 0

but that might be another story, since I'm not seing in another test server elsewhere where I did the same steps to reprocuce the scenario ( http://15x.notre.website ).

You can test payments through the shopping cart:
http://xavi-9794-5955.show.tikiwiki.org/tiki-index.php?page=cart+products

or through the plugin group membership (setup to smaller fees, since we are testing in production with paypal):
http://xavi-9794-5955.show.tikiwiki.org/tiki-index.php

u: admin
p: 12345

other users (user1 and user2, and groups group1 and group2 are created with expiry info for the payment to make more sense and expire after a few days, etc)


At least, the show.t.o will allow anyone to get the db dump to have a local instance for debugging more easily than starting from scratch.

Solution
PArtially fixe din 15.x by jonnyb so that they show up as Past after page refresh or going to the url of the invoice, etc.
Importance
8
Easy to solve?
3
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5955
Created
Friday 27 May, 2016 14:53:38 UTC
by Xavier de Pedro
LastModif
Thursday 30 June, 2016 13:11:38 UTC


Show PHP error messages