You are here:
Integrate Stripe with Advertising Sales Management Self-Care
Manage payments from your customers using the Stripe payment gateway with Advertising Sales Management Self-Care.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
| REQUIRED EDITIONS |
|---|
| Available in: Lightning Experience |
| Available in: all editions |
| REQUIRED USER PERMISSIONS | |
|---|---|
| To access Media Cloud advanced features | MediaCloudPlus Runtime |
To integrate Stripe payments, follow these instructions:
Update OmniScripts for Stripe Payments Integration
Update the ASMSL/UserRegistration OmniScript from your Advertising Sales Management org.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- Using the App Launcher, to navigate to OmniScripts.
- Click the latest version of the ASMSL/UserRegistration OmniScript.
- Under Add Payment Method, select the Payment Integration component.
- In the right pane, expand the section CUSTOM LIGHTNING WEB COMPONENT PROPERTIES.
-
Update the value of srcurl to
https://<SiteURL>/vlocity_cmt__vplS360StripePaymentIntegration.
Note
If the namespace of your managed package is not "vlocity_cmt", then replace "vlocity_cmt" with the appropriate namespace.
- Under the AddPaymentMethodSuccess step, select the PaymentIntegrationSuccess component.
- In the right pane, expand the section CUSTOM LIGHTNING WEB COMPONENT PROPERTIES.
-
Update the value of srcurl to
https://<SiteURL>/vlocity_cmex__vplS360StripePaymentIntegration.
Note
If the namespace in your managed package is not "vlocity_cmt", then replace "vlocity_cmt" with the appropriate namespace.
Create Named Credentials for the Stripe Payment Gateway
Named credentials specify the URL of a callout endpoint and the authentication parameters. You must set up Stripe Payments as a named credential before you can use the payment gateway in Advertising Sales Management Self-Care.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- Go to Setup.
- In Quick Find, enter Named, and click Named Credentials.
- Expand the drop-dopwn menu and click New Legacy.
- Enter a Label, Name, and URL for your Stripe Payment Gateway Named Credential.
- Select Named Principal as the Identity Type, and Password Authentication as the Authentication Protocol. Enter the values for the Username and Password.
- Click Save.
Update the Stripe Key in Custom Metadata
Custom Metadata types enable you to use records to configure your app without worrying about migrating those records to other orgs. For Stripe to work in Advertising Sales Management Self-Care, update the Stripe key in the custom metadata.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- Go to Setup.
- In Quick Find, enter Custom and click Custom Metadata Types.
- Click Manage Records corresponding to the VPLExpress custom metadata type.
- Click Edit next to Stripe Public Key.
-
Enter the value of your Stripe public key.
Note If the Value field isn’t available, you can add it to the VPLExpress page layout.
(Custom Metadata Types > VPLExpress > VPLExpress Layout > Edit)
- Save your changes.
Add CSP Trusted Sites for Stripe Payments
The Lightning Component framework uses a Content Security Policy to impose restrictions on content. You must add new trusted sites for Stripe to work with Advertising Sales Management Self-Care.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- Go to Setup.
- In the Quick Find box, enter Trusted, and click Trusted URLs.
-
Click New Trusted URL, and create a trusted site for these URLs:
-
https://*.stripe.com
-
https://*.stripecdn.com
-
https://*.stripe.network>
-
- Under CSP Directives, select connect-src (scripts) and select src (iframe content).
