Change Payment Status

More
10 years 6 months ago #865 by dono
Replied by dono on topic Change Payment Status
How to change the reservation payment status manually?
there is no options for it anywhere

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

More
10 years 6 months ago #874 by vietvh
Replied by vietvh on topic Change Payment Status
Hi,

Look like I misread reservation status with payment status.

At this moment it is not possible to edit payment status manually, only payment plugin can edit them.

vietvh

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

More
9 years 2 months ago #5178 by aries_max
Replied by aries_max on topic Change Payment Status
Hello
With Paypal, the payment status is changed to paid automatically.
However, the reservation status is still "Pending arrival". Is there a way to switch to "Confirmed" when it is paid ?
Thanks
Max

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

More
9 years 2 months ago #5181 by vietvh
Replied by vietvh on topic Change Payment Status
Hi,

You can make a simple modification in this file:

/plugins/solidrespayment/paypal/paypal.php

Find line 240:
$tableReservation->total_paid = $totalPaidAmount;

Replace it with
$tableReservation->state = 5; // 5 is for Confirmed
$tableReservation->total_paid = $totalPaidAmount;

Regards,
The following user(s) said Thank You: aries_max

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

More
9 years 2 months ago #5185 by aries_max
Replied by aries_max on topic Change Payment Status
Thank you,
I noticed that the payment status was changed and the confirmation page displayed even though I didnt enable IPN on Paypal.
What is the purpose of IPN ?

Also, would solidres support chained payments (ie payment split between several receivers) ? If not how hard would it be to make the change in the Paypal plugin ?

Thanks and regards,
Max

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

More
9 years 2 months ago #5186 by vietvh
Replied by vietvh on topic Change Payment Status
Hi,

There are 2 ways to configure IPN: via your Paypal account or via custom payment plugin dynamically (this is what our Paypal plugin is doing).

It is a totally different thing, you'd need to make a new Paypal plugin which supports Adaptive Payment:

developer.paypal.com/docs/classic/adapti...ation-guide/APIntro/

The current Solidres Paypal plugin only supports Paypal Payment Standard.

Regards,
The following user(s) said Thank You: aries_max

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?