Skip to main content

#B2C Commerce15 utenti parlano di questo argomento

I’m looking for suggestions for a customizable count down timer that we can display on our website. It would live on a page built using Page Designer.

 

Doing some online searching I’ve found some embeddable options, but when I use the HTML view of the text block component, any script in the embed code gets deleted so then it doesn’t work.

 

Thanks in advance for any help I can get!

10 risposte
  1. 8 ott 2025, 13:23

    You won’t be able to run raw script tags inside Page Designer, since it strips them out. A simple workaround is to use a countdown timer that comes as an iframe embed (no script needed) or use a GIF/HTML block widget if your platform supports it. Some third-party tools like POWR, Elfsight, or TickCounter give you iframe code that works fine in Page Designer.

0/9000

*** Important Update: Associate a B2C Commerce instance to your Managed Runtime production environment(s) by Sep 29, 2026 ****** Important Update: Associate a B2C Commerce instance to your Managed Runtime production environment(s) by Sep 29, 2026 ***Salesforce is limiting how Managed Runtime (MRT) determines production enviSalesforce is limiting how Managed Runtime (MRT) determines production environments. Currently, you can set any environment to production, regardless of whether it’s connected to an instance. This creates a lot of traffic, which harms the accuracy of monitoring and incident response for everyone on the platform.

 

To reduce traffic and improve capabilities, Salesforce is limiting which environments can be flagged as production. Starting September 29, 2026, an environment can be flagged as production only if it’s associated with a Staging or Production B2C Commerce instance.

 

Log Center logs and Log Center metrics aren't affected by this change. Both stay independently configurable on any environment, regardless of instance tier.

 

To keep production monitoring and related features on these environments, associate each one with a Staging or Production B2C Commerce instance before September 29, 2026.

 

  1. Open Runtime Admin and go to the Environment Settings for the environments listed above.
  2. Associate the environment with a Staging or Production B2C Commerce instance.
  3. Confirm the production flag is still on after you save the association.
  4. Redeploy the current bundle in that environment. This ensures the change takes effect immediately rather than waiting for your next scheduled deployment.

If you don't associate an instance by the deadline, you will lose production monitoring. Your Log Center logs and Log Center metrics settings won't change.

 

Need help?

Contact Salesforce Customer Support if you have questions about which instance to associate.

 

#B2C Commerce #B2B Commerce

2 commenti
0/9000

Hi everyone,

We are a Salesforce B2C Commerce Partner and our On-Demand Sandbox credits are approaching exhaustion.

Could someone please clarify the current process?

  1. Can partners still purchase/top up additional On-Demand Sandbox credits?
  2. If our allocated credits are exhausted, will the sandboxes continue running and automatically move into overage billing?
  3. If yes, how is the overage billed to the partner, and is any action required from our side?
  4. Is there any option to request additional credits through our Partner Manager?

Looking for confirmation on the current 2026 process.

 

Thanks, 

Ayaan 

 

#B2C Sandbox  #B2C Commerce

3 risposte
  1. 22 set, 18:02

    Here's the current process for Salesforce B2C Commerce Partners regarding On-Demand Sandbox credits as of 2026:

    Purchasing or Topping Up Credits

    • Partners can typically purchase or request additional On-Demand Sandbox credits through their Salesforce Partner Manager or Account Executive. This may require a formal request or order.

    What Happens When Credits Are Exhausted

    • If your allocated credits are exhausted, your existing sandboxes will continue to run. Salesforce will automatically move your account into overage billing for any usage beyond your entitlement, so sandboxes are not immediately shut down.

    How Overage Is Billed

    • Overage is billed monthly based on contract terms and the number of sandboxes or usage hours beyond your allocation. The billing is charged to your partner account, and no immediate action is needed to keep sandboxes running, but it’s important to monitor your usage and billing statements.

    Requesting Additional Credits

    • You can request additional credits directly from your Partner Manager or Account Executive, who will guide you through the process.

    Confirmation for 2026

    • The process remains as described above, but always confirm with your Partner Manager or Account Executive for any recent updates or changes to contract terms.

    For more details, review your latest partner agreement or connect with your Salesforce Partner Manager.

0/9000
1 risposta
  1. 8 set, 16:21

    Hi Sreemanth — this one is almost always the sharing-settings step on the Inventory objects rather than a problem with your Commerce licenses. Things to try, in order: 

     

    1) Set up the Inventory sharing manually instead of using Retry. Click the "Set up manually" link on the Inventory row, then go to Setup → Sharing Settings → Organization-Wide Defaults → Edit. Set Default Internal Access for Location and Location Group

    to Public Read/Write, keep "Grant Access Using Hierarchies" checked, and Save. Sharing recalculation runs asynchronously, so wait for the confirmation email before going back to the assistant. 

     

    2) Don't hit Retry while a sharing recalculation is still running.

    If the assistant tries to change org-wide defaults while another recalculation is in flight, the step fails with exactly that generic "We couldn't set up all of the features" message. Wait until it finishes, then Retry so it can continue to steps 4–6. 

     

    3) Check Setup → Deferred Sharing Maintenance and Setup → Background Jobs.

    If deferred sharing calculation is suspended in the org, the assistant can't update org-wide defaults at all. 

     

    4) Confirm the Inventory objects are actually provisioned.

    Location and Location Group come with Inventory Management / Omnichannel Inventory, and a plain new Developer Edition org isn't always fully provisioned for Commerce. If those objects are missing, spinning up a Commerce-enabled trial org (B2B/B2C Commerce trial signup or Environment Hub) is the fastest route. 

     

    5) Check the running user's permissions.

    Make sure whoever runs the assistant has the Commerce Admin permission set plus Modify All Data / Manage Sharing. 

     

    Once Inventory sharing is set manually, the assistant should treat the step as complete and let you finish the rest. If it still sticks at 3 of 6 after recalculation completes, check the Setup Audit Trail around the failure timestamp and raise a support case — the generic message doesn't tell you which object failed, but Support can see it. 

     

    Hope that helps.

0/9000

Hello Team, has anyone in the group integrated WordPress with SF ? I need to insert a webToLead form in a WordPress site. Is it possible without using plugins?  Thx!

3 risposte
0/9000
Palak Bohra ha fatto una domanda in * B2C Commerce *

Hi, 

I have long waiting to try commerce cloud for learning purpose and to pitch to our clients. I want to earn certificates as well for it. Is there still no way to get the license for this just for trial purpose?

Hello! Is it possible to create a sorting rule that orders products from highest to lowest price based on the discounted prices, as it currently only takes the base price? Or are there ways to create custom sorting rules with such criteria?

2 risposte
  1. 13 set 2023, 15:17

    Hi @Mayra Janeth Gómez, in B2C Commerce you can include the price attribute as a standard attribute in your custom sorting rules (https://help.salesforce.com/s/articleView?id=cc.b2c_creating_sorting_rules.htm&type=5). The price attribute uses the information stored in your price books. So you could use a standard/base price book and a sales/promotional price book depending on how you create and structure your price books. Please note that promotional prices as a result of the promotion engine are not reflected in the sorting rules. Promotional prices based on our promotion engine are highly dynamic and are not considered in search to avoid performance impact.

0/9000
B Sai Akshay (Wipro) ha fatto una domanda in * B2C Commerce *

In ConsentTracking controller, we have a server.post(SetConsent) route with couple of middleware steps. When I try to debug using Browser's Developer tools->Network tab, I see that for ConsentTracking-SetConsent call the request method is GET. According to code, it checks if the request is post. But as the request is GET we are getting the params do not match route error. As a result, I am getting tracking consent popup on every page. I am not at all modifying this Controller in my custom cartridge. I don't understand why the http method is changed to GET. 

Is the POST request getting overridden by GET request due to any previous calls?

Can anyone please suggest why is this happening?

 

(Note - This error popped up when I was trying to upgrade SFRA version from 6.0.0 to 6.2.0) 

5 risposte
  1. 29 lug, 06:34

    @Giovanni Marchetto

    , 

     

    I don’t think a previous call is changing the POST to GET. This usually happens when the frontend code and controller route are not from the same SFRA version.

    Since this started after upgrading from SFRA 6.0.0 to 6.2.0, I’d compare all ConsentTracking-related files, not just the controller.

    Check these:

    1. Search your cartridges for ConsentTracking-SetConsent, ConsentTracking-SetSession, and SetConsent.
    2. See if your custom cartridge is overriding ConsentTracking.js or any consent popup JS/ISML.
    3. Compare those files with the SFRA 6.2.0 version.
    4. Clear cache and redeploy static assets.

    Most likely, the browser is calling the newer GET-based consent endpoint, but your controller/custom override is still expecting POST. So it looks like a version mismatch rather than the method being overridden. 

0/9000
Jad Atoui (Klaviyo) ha fatto una domanda in * B2C Commerce *

I have created an API Client under Account Manager

In Business Manager for my user under  Manage Access Keys I created "Agent User Login and OCAPI"

 

When I test making a call to https://[sandbox domain]/dw/oauth2/access_token?client_id={API Client ID}

with header info:

 

basic_auth_token = b64encode(

            bytes(f"{business_manager_username}:{business_manager_password}:{api_client_password}",

                  "utf-8")

        ).decode("ascii")

headers = {}

 

authorization = f"Basic {basic_auth_token}"

 

headers["Authorization"] = authorization

headers["Content-type"] = "application/x-www-form-urlencoded"

headers["Cache-Control"] = "no-cache" 

 

and

data = {

"grant_type": "urn:demandware:params:oauth:grant-type:client-id:dwsid:dwsecuretoken"

}

 

I keep getting HTTP 400 with error message:

"Client id 'client id' has invalid credentials to use grant type 'urn:demandware:params:oauth:grant-type:client-id:dwsid:dwsecuretoken'."

 

anyone can pinpoint what I am doing wrong?

@* B2C Commerce * 

2 risposte
  1. 23 lug, 15:08

    Hello , were you able to solve this issue ?

0/9000

Hii Salesforce Community,. 

 

1. I need a complete, step-by-step guide for integrating Salesforce Payments with Salesforce Order Management (OMS). 

 

Please explain the entire implementation process, including: 

 

  • How to configure and integrate Salesforce Payments with Salesforce OMS from scratch.
  • The prerequisites, required licenses, and Salesforce features that must be enabled.
  • How to connect Salesforce Payments to OMS, including the objects, settings, and relationships involved.
  • The complete payment lifecycle, including Authorization, Capture, Void, and Refund.
  • How payment transactions are associated with Orders and Fulfillment Orders in OMS.
  • Whether payment capture is handled automatically by Salesforce OMS when an order is fulfilled, or whether custom automation (such as Flows, Apex, Platform Events, or APIs) is required.
  • The standard APIs, payment gateway adapters, and integration points involved in the process.
  • A complete end-to-end implementation example, from checkout through order creation, fulfillment, payment capture, cancellation, and refund.
  • Salesforce best practices, common implementation challenges, and recommended architecture for a production environment.

 

2. How does payment capture work in Salesforce Order Management (OMS) when an order reaches the Fulfilled status? 

 

  • I would like a complete, step-by-step explanation of the end-to-end payment capture process, including:

 

  • Whether Salesforce OMS automatically captures an authorized payment when an order is fulfilled, or if custom automation is required.

 

  • The complete implementation flow from payment authorization through order fulfillment to payment capture.

 

  • Which standard Salesforce OMS components, payment gateway integrations, and APIs are involved in the capture process.

 

  • If automation is required, please explain how to implement it using Flows, Apex, Platform Events, or other recommended approaches.

 

  • Include a practical example with the order lifecycle, payment transaction states, and best practices for production implementations.

 

@* Commerce Salesforce Order Management *@* Salesforce Commerce for B2B & D2C *@* B2C Commerce *

3 risposte
  1. 16 lug, 10:41

    Hi @Robert Musk

    Salesforce Payments is available for sandbox environment or Salesforce payments only available in product environmen only, but how to test the salesforce payments in sanbox regarding payment capture, refunding , payment failures? can we able to cpature the authorized payment in stripe test account  

     

    do you have any documentation about configuring and setuping the salesforce payment for stripe in sandbox ? 

     

0/9000