Rank: Member
Joined: 10/25/2013(UTC) Posts: 14 Location: Rajkot Thanks: 1 times
|
Hello, I hope you are doing well. I have enabled loyalty point from admin and it shows me the loyalty points earned in the receipt page but it is not automatically credited to customer account. I have to run manually credited loyalty point for past orders. Is there any way for this so that it will credited automatically. Edited by user Tuesday, December 17, 2013 7:52:26 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Has the order been marked 'paid'? Loyalty points are only applied after an order has been paid. If so, check your "Payment Changed" workflow and make sure that the workflow step "Update Loyalty Points" is the last step in the workflow. If not, add it.
If you needed to make this change you'll also want to make sure that this workflow step appears in the "Order Edited" workflow and that the "Debit Loyalty Points" workflow step precedes the "Debit Gift Certificates" in the "Process New Order" workflow. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 10/25/2013(UTC) Posts: 14 Location: Rajkot Thanks: 1 times
|
HI, Thanks for the Reply. yes the work flow is there as you mentioned. and also If I want to calculate loyalty Points using our checkout instead of One Page Checkout Plus. can you please tell me what coding i have to take from One Page Checkout Plus page. Edited by user Wednesday, December 18, 2013 1:12:21 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: anonymous If I want to calculate loyalty Points using our checkout instead of One Page Checkout Plus. can you please tell me what coding i have to take from One Page Checkout Plus page. The best way to see the code changes is to compare the One Page Checkout Plus to the old One Page Checkout. The bulk of the loyalty points code is the LoadGiftCertificatesAndLoyaltyPoints method and the chunk of code inside the "If WebAppSettings.LoyaltyPointsEnabled Then" statement in the btnSubmit_Click event handler around line 385. One important change with this checkout is that it shows the amount that the customer has to pay out of pocket (i.e. order total - loyalty points credit - gift certificates credit). |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 10/25/2013(UTC) Posts: 14 Location: Rajkot Thanks: 1 times
|
Thanks, I think if we set in charge amount at check out from admin side - payment settings. Then we have to run credit loyalty points for past order from loyalty points settings page. Or we can do minor modifications in update loyalty points work flow and add it to end of payment complete work flow. M I right? Edited by user Wednesday, December 18, 2013 1:06:44 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: anonymous I think if we set in charge amount at check out from admin side - payment settings. Then we have to run credit loyalty points for past order from loyalty points settings page If you modify your checkout like the One Page Checkout Plus there should be no reason to credit loyalty points on past orders; they will automatically be applied when the order is marked 'paid' (which would occur when an order is placed if you enable the "charge full amount at checkout" setting). Originally Posted by: anonymous Or we can do minor modifications in update loyalty points work flow and add it to end of payment complete work flow. M I right? You should not need to modify the workflow steps. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 10/25/2013(UTC) Posts: 14 Location: Rajkot Thanks: 1 times
|
I have try in ur demo store also. But Demo store also not credits the loyalty points automatically if. We set charge fully at checkout. because when we set "charge fully at checkout" then at checkout when payment is success then order is marked as paid but no loyalty point credited. Edited by user Wednesday, December 18, 2013 10:54:25 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
It looks like you need to add the "Update Loyalty Points" workflow step to the "Payment Complete" workflow for this to work properly. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 10/25/2013(UTC) Posts: 14 Location: Rajkot Thanks: 1 times
|
Yes but we have to put condition to check that user is logged in or not. Else it will throw error and payment is made but order is not processed. Edited by user Thursday, December 19, 2013 2:12:40 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: anonymous Yes but we have to put condition to check that user is logged in or not. Else it will throw error and payment is made but order is not processed. Good catch! This looks like a bug. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.