Skip to content

effordDev/sf-stripe

Repository files navigation

sf-stripe

Deploy to Salesforce
screen-recorder-fri-may-19-2023-13-22-33.webm

Provides a jump start to implementing Stripe into salesforce. Contains Strip__mdt object to store keys and configuration. An apex class Stripe.cls to make a callout to the node server and a Lightning Web Component stripe.lwcthat initates the callout to the Apex class.

##Getting Started

For the Node.js side click here

Metadata

ENCRYPTION_KEY__c, IV__c should be 128 bits I used allkeysgenerator

these should match what is stored as environment variables on the server.

Secret__c - plain string that will be hashed sha256 - hex

Create a Stripe__mdt record named 'Stripe' and populate the fields:

ENCRYPTION_KEY__c Initilization Vector - IV__c Node server - Proxy_URL__c Secret__c


Written with my cat🐱‍👤 tokyo

About

Provides a jump start to implementing Stripe into salesforce.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published