New B2CDeliverySample Advance class added#335
Open
sf-anilpurohit wants to merge 3 commits intoforcedotcom:developfrom
Open
New B2CDeliverySample Advance class added#335sf-anilpurohit wants to merge 3 commits intoforcedotcom:developfrom
sf-anilpurohit wants to merge 3 commits intoforcedotcom:developfrom
Conversation
wei-liu-sf
reviewed
Mar 24, 2025
| @@ -0,0 +1,366 @@ | |||
| // This must implement the sfdc_checkout.CartShippingCharges interface | |||
Collaborator
There was a problem hiding this comment.
Please explain this class, its purpose, its functionalities.
wei-liu-sf
reviewed
Mar 24, 2025
| // This must implement the sfdc_checkout.CartShippingCharges interface | ||
| // in order to be processed by the checkout flow for the "Shipping" integration | ||
|
|
||
| global class B2CDeliverySampleAdvance implements sfdc_checkout.CartShippingCharges { |
Collaborator
There was a problem hiding this comment.
Is this the legacy integration? Why do we need it?
Collaborator
Author
There was a problem hiding this comment.
As per thread
Carly mentioned that its trust issue and changes required for all kind of stores, hence we made the changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
In This PR we have changed Apex sample code for B2CDeliveryService to retain previously selected delivery method when we retrigger shipping calculation from buyer flow.
What issues does this PR fix or reference?
#, @@
@W-17966639
Functionality Before
<insert gif and/or summary>
Earlier we were not retaining previously selected delivery method and it was always getting clear then buyer need to select again if he change the delivery address.
Functionality After
<insert gif and/or summary>
Now we are retaining previously selected delivery method and it wont clear if buyer change the delivery address.
How to Test/Testing Effort
<insert gif and/or summary>
by placing order in checkout flow by selecting one of CDGM and changing the address we can test it.