#richiemartins

1 messages ยท Page 1 of 1 (latest)

winged idolBOT
tall hull
#

๐Ÿ‘‹ happy to help

#

are you using the official Stripe Salesforce plugin?

narrow monolith
#

doesnt exist for b2b

#

only b2c

#

on b2b you make an apex class to adapt

tall hull
#

I'm really not familiar with how the Salesforce plugin work anyways

narrow monolith
#

let me show my body and how im sending

tall hull
#

but to answer your question, you shouldn't really send raw PAN to Stripe

#

this is the simplest way to accept payments

narrow monolith
narrow monolith
#

but it doesnt for b2b commerce cloud

#

only b2c

#

for salesforce

#

take a look at the screenshots let me know what you think

#

@tall hull

tall hull
#

just give me a second and I will be with you shortly

narrow monolith
#

sure, thanks take your time

tall hull
#

As I said, you shouldn't be sending Raw Pans to Stripe

#

instead you need to use the integration guide I shared with you

#

you can also rely on our hosted surfaces, Checkout Sessions, Payment Links etc. if you prefer not to go through big custom coding efforts

narrow monolith
#

idk if you notticed my screenshot im not using raw PAN

narrow monolith
tall hull
#

you are

#

when you pass "card.number"

#

this is Raw Pan

narrow monolith
#

@tall hull also using plugins not an option. this payment methods method should be working sending tokenized through stripe api like the doc said

#

hmmm

#

how should i pass the card number then?

#

if nto tokenized like this

tall hull
#

you need to use Payment Element or Stripe.js to create the Payment Method and use that instead

narrow monolith
#

i cant use stripe js libary

#

this is only on the backend side

#

the front end is standard salesforce

#

banck end is apex

#

is there a way i can do this on the backend?

#

banck end only

tall hull
#

are you a MOTO service?

narrow monolith
#

no no

#

this is regular checkout on a commerce platform

#

the commerce platform is commerce cloud b2b on salesforce

tall hull
#

you can't do it in the backend then

#

is your customer on session?

#

how are you collecting the card information?

narrow monolith
#

a normal form on the cart checkout

#

is he on session? meaning is he logged in?

tall hull
#

instead of using a normal form you need to use Stripe Elements

narrow monolith
#

also one thing, salesforce is compliance in every single way we didnt even touched the front end we are using regular form from them

#

pci compliance i dont know need to ask the client

#

i opened a case for raw data

#

i sent the stuff from salesforce

#

idk if they will enable it

tall hull
#

that's not how things work

#

if you're collecting Raw Pans on the web, you need to be PCI compliant

#

this is why we ask you to use Stripe Elements so you don't have to take care of that

narrow monolith
#

yhea i dont have acess to the front end

#

i guess i need to investigate a way to make the changes on the front end