Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Avoiding stale 'Awaiting Payment' links

Quote Reply
Avoiding stale 'Awaiting Payment' links
Unrelated to the previous post, but still very much in line with the topic of 'Customizing the Payment Feature'.

We have now activated the payment system and it's working as it should... But we have one question related to the payment status of an ad.

When a user goes through the process of submitting an ad, and they then choose a payment method, on that first form, the link is then submitted as a paid link, but set to 'awaiting payment' until the postback is received from paypal and then becomes a true 'paid link'.

Our issue is that we have users who begin this process, select a payment type and proceed to the final page where they are to select their payment type, except they don't go through with it. This ends up creating listings that are set to 'awaiting payment', which then are displayed in the categories and give errors of not being paid when viewed.

Is there a way for us to change the way it works so that instead of there being three different payment checks (Free Link, Awaiting Payment, Paid Link), only have there being 2, Free link and Paid link. Essentially having it so that the link remains a free link until the postback from paypal is received.

I see there was another thread about this posted in the forums some years back but was never properly addressed in a way that resolved it: View The Other Thread Here

Thanks
Quote Reply
Re: [meso] Avoiding stale 'Awaiting Payment' links In reply to
Hi,

I'm afraid this is not a trivial change you asking for and there is no option in GLinks config to change the way it works. Change like that needs a specific plugin to be written for.

For the links with "Awaiting Payment" status you easily can get rid of it in templates. Smile

As for the error when viewing unpaid links not sure what you mean, can you give example screenshot? It shouldn't give any errors.

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Quote Reply
Re: [eupos] Avoiding stale 'Awaiting Payment' links In reply to
Thanks for your reply.

We've already written in an ifnot statement that is currently excluding all 'awaiting payment' links from the category lists, as a temporary fix.

But our concern is that users are going to end up contacting us on a regular basis saying that they submitted an ad, but that the ad can't be seen now.

The error is not so much an error as an alert, it's the default text of "This link has not yet been paid for", or something along those lines. Which prevents the ad itself from being visible.
Quote Reply
Re: [meso] Avoiding stale 'Awaiting Payment' links In reply to
Hi,

Ah, now I see your concern Smile

In that case, such behaviour from GLinks can be achieved with a plugin. It will explicitly set the link status to "free" upon user submission. That way even if the user abandons the payment page the link will stay "free" and visible both in categories and detailed pages. However, if on later stage the user decides to pay, GLinks will set the right status for the given link after the payment is done.

Please note that the implementation depends on how your payments are setup. It can vary from fairly simple plugin to really complex one.

Hope this sheds some light on the matter Smile

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins