Skip to main content

#B2B Commerce6 人がディスカッション中

Hi,

I'm wiring up webhooks for a Commerce Payments integration with Authorize.Net. The notify endpoint Salesforce gives me is:

 

/services/data/vNN.0/commerce/payments/notify?provider=<paymentGatewayProviderId>

The ?provider= is what routes the notification to my custom PaymentGatewayProvider. Problem: Authorize.Net's webhook config rejects any URL with a query string, so I can't register this URL as-is in their merchant interface. The value isn't a secret - it's just routing.

Questions:

  • Can the notify endpoint resolve the provider without the query param (path-based, header, or otherwise)?
  • If not, what's the recommended pattern for gateways like Authorize.Net whose webhook config won't accept query strings?

Thanks! 

 

 

 

#B2B Commerce

1 件の回答
  1. 6月12日 15:44

    Hey @Lili Stoyanova

     

    No, Salesforce can’t resolve the provider without that provider query param. It’s required to route the webhook to the correct PaymentGatewayProvider, and there’s no supported alternative like path or header. 

     

    Since Authorize.Net doesn’t accept query strings, you won’t be able to use the Salesforce notify URL directly. 

     

    Best practice here is to put a small middleware in between. Authorize.Net will call your clean endpoint (without query params), and then your middleware forwards the request to Salesforce by adding the ?provider=... internally.

    You can do this with MuleSoft, AWS Lambda, Azure Function, or even a simple custom API. 

     

    So basically, Salesforce side can’t change this behavior, the fix has to be on the integration layer. 

     

    Hope this works!

0/9000

We're working on several new bi-directional Salesforce OMS / OCI integrations with Shopify, eBay, Walmart, Magento, BigCommerce, Amazon Seller Central, and Amazon Buy with Prime. If anyone is interested in collaborating on this, please let me know!  My email is jon@1440.io 

2 件の回答
  1. 6月10日 10:53

    Thanks for sharing this. The integrations sound interesting, especially with Shopify and Amazon. I'd be happy to learn more and see how we might collaborate. I'll reach out by email.

0/9000

Hi everyone,

I’m trying to add a product to an existing Order Summary in Salesforce Order Management using the Add Order Item Summary Flow action, but I keep getting a generic error with no useful detail.

Here’s what I already verified:

  • The Order Summary already exists for the order.
  • I can see an existing OrderItemSummary on the same order.
  • I’m passing:
    • OrderSummaryId
    • OrderDeliveryGroupSummaryId
    • Product2Id
    • PricebookEntryId
    • Quantity
    • UnitPrice
    • TotalLineAmount
    • Reason
    • Type

The values I’m using are valid picklist/API values in my org, and the flow interview shows the payload being built correctly, but the action still fails with:

I also checked that the order is not being blocked by the summary creation process, and I’m working on a test order with existing Order Summary data.

Has anyone successfully used Add Order Item Summary

in Flow? 

Are there any hidden prerequisites, special field requirements, or order status constraints that could cause this generic failure?

Any advice or examples would be really appreciated.

Thanks!

1 件の回答
0/9000

Hello community: I wanted to ask how you handle B2B. We currently have MCE and need to send emails to B2B CRM accounts. Can we email the account itself, or is it mandatory to email the account contact?   Thanks!    @* Salesforce Commerce for B2B & D2C * 

1 件の回答
0/9000

WARNING: Your connector user doesn’t have the recommended permissions, which can affect how Account Engagement data syncs with Salesforce. For full functionality, ask your Salesforce admin to grant the connector user all the recommended permissions. Teach me how in Salesforce Help. If this is intentional, you may dismiss this message, but exercise caution. Restrictions imposed on the connector user affect your entire Account Engagement instance.

View missing expected Salesforce permissions for your connector user

To know how to fix this, refer to this knowledge

 

 

B2B Marketing Analytics isn't syncing. Reassign the permissions and then check your apps for updates

Buongiorno,

sembra si siano disconnessi i connettori con gotowebinar. Se li verifico si riconnette tutto? Fatemi sapere grazie 

Lucia

 

 

#B2B Commerce

1 件の回答
0/9000
0/9000

Hi,  

I am using Salesforce B2B Commerce Cloud. I am trying to use the meta tags and url slugs available for each product.  

I have added these for each product, rebuilt the search index to be safe and published the site. But the meta tags do not reflect in the html in dev tools nor the url slugs change. The default url slug for now I suppose is from the Products page which is to use {!Record._Object}: {!Record._Title} Not sure if it is coming from here. If it does, I'm unable to override it. 

 

My goal - Use Product level meta tags and url slugs for each product. Also would be good to know what is usually a best practice for meta tags and URL slugs, is adding it for each product too much or is it used so. 

 

B2B Commerce Product meta tags and url slug

 

@* Salesforce Commerce for B2B & D2C *

 

 

#B2B Commerce

1 件の回答
  1. 3月13日 17:02

    It sounds like the product-level meta tags and URL slugs might not be properly overriding the default template. In Salesforce B2B Commerce Cloud, ensure the product page settings allow custom slugs and meta tags and check if caching or indexing is preventing updates from appearing. Adding meta tags for each product is common practice for better SEO, especially in large catalogs, and following professional SEO strategies can help manage them effectively. Here’s a resource that provides tailored SEO support for such scenarios.

0/9000

Hi all, I'm trying to create a new Store, on a refreshed sandbox. And I need to use an existent site. When using the standard button available "Create a Store on Existing Site" I get this error: "commits are not allowed because someone called setCommitAllowed(false),   justification: Applying the Channel Recipe is in progress. Committing is not allowed until finished. - 1762269345947", this happens after I select the Name and the Site to use. After 1 minute I get this error    Does anyone know what could be the cause? I'm the only one to have access to this Sandbox.    Thanks   

 

@* Salesforce Commerce for B2B & D2C * 

3 件の回答
  1. 3月2日 22:22

    The issue was on custom validation and mandatory unique key on the Category and CategoryProduct object. I needed deactivate then to be able to create the site. 

0/9000

TIA!  We just installed Salesforce payments so that our field techs can take credit card payments from the customer. In the payments app, it says everything is ok.  We have had a case open since Jan 27 and it has not been solved yet. 

Any ideas? 

When are in the work order and hit Take a Payment, we get this error message: 

 test 1. "amount":119,"currencyIsoCode":"USD","paymentMethod":"TAP_TO_PAY","merchantName":"Gulf Coast Window Cleaning of Sarasota, LLC - Stripe","merchantAccountId":"8zbR700000000ODIAY","payerAccountId":"001R7000008wuzhIAA","sourceObjectIds":["0WOR70000065pb7OAA"]}handleTakePayment: Failed to fetch PaymentGatewayId for the provided MerchantAccountId. The operation couldn’t be completed. (SalesforceSDKCore.RestClientError error 0.)

1 件の回答
0/9000

Hi!

 

I'm trying to delete masively ManagedContent but all tools  (Salesforce inspector, dataloader or workbench...) say it is not possible... Any alternative?

 

Thanks!

7 件の回答
  1. 2022年10月31日 23:43

    @Atlas Cloud we plan to expose our delete API for the new Enhanced Workspaces, but you're correct that we don't have a public delete API for regular workspaces.  We do have a REST API I can enable through an org setting if you send me the org Id (you can send it over a private message if you'd like).

0/9000