- Posts: 12
- Home
- Forum
- Community Forum
- Questions
- Feedback module
Change Payment Status
- dono
- Topic Author
- Offline
Less
More
11 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
there is no options for it anywhere
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
11 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
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.
- aries_max
- Offline
Less
More
- Posts: 35
10 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
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.
- vietvh
-
- Offline
Less
More
- Posts: 1553
10 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:
Replace it with
Regards,
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.
- aries_max
- Offline
Less
More
- Posts: 35
10 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
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.
- vietvh
-
- Offline
Less
More
- Posts: 1553
10 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,
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