Hey Mojo, thank you for the video! I’m expert Adobe Commerce ( Magento ) developer, it’s my first touch in contact with Sales Force commerce cloud, it’s was a bit complex to follow but it showed me a big landscape about the possibilities with this platform, regards!
Thank you for the video. We have created our own custom payment components which supported hosted payments but could never figure out how to create the order payment summary.
I’d need to know a bit more to understand if this fits in or not but assuming you’re talking about credit card then you’ll likely need a different approach then this
We've built our own payment component which pops up a modal that frames a payment provider's hosted payment page upon clicking the payment button. A successful response allows the order to process successfully and errors are handled by the payment provider directly (and things like 3DS). Our one challenge was being able to replicate the Order Payment Summary record to mimic the behaviour of how successful payments are captured in Salesforce. This video has proven that it can be done! Great example, and thank you for your contributions to the community.
HI @@reubenlim9785 , Could you please provide some more information on that. I actually want to integrate stripe . However the current StripeAdapterClass does not work with new stripe accounts. There are few approaches stripe suggests like hosted check out, payment intents, create card element to tokenize the details and returns the token id which we can use then to capture the payment. Although I created a custom LWC component which gets the token , I want to know how can we pass this token to existing StripeAdapterClass. Or Do I have to create new Adapter Class . Since you have done Hosted Payment . I believe you done something similar. In case of hosted payment , how you have mentioned Payment Gateway Provider in store and how communication is done. Any help will be appreciated.
Can you take more than one form of "payment" on an order? I'm wondering if this could be used for something like a loyalty program? Assuming there is a system in place that calculates loyalty points earned and points that will be earned by items in the cart, it would be great to be able to use both a regular payment or PO PLUS spending "points" to cover part of your cost.
Hello! Today, natively it’s just one payment method. I know this is somewhere in the roadmap but no where soon. This is something that could be handled with customization though
@@salesforcemojo Hey I'm also trying to find the genericCommerceAdpater class on the github repo you shared but i can't find it. Can you share it with us?
Great video👏🏽 Currently I’m facing one issue strip payment gateway integration . This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys. I’m passing publisher key as username and password as secret key in the named credential .
Yup, that’s the expectation. However while trying to replicate this with a new account stripe is throwing and error saying passing raw credit card numbers isn’t allowed anymore. I’m looking into this with salesforce as this was part of their sample framework.
@@salesforcemojo Since a couple of days I also faced the same issue. It seems the old accounts/Legacy checkouts support Token API. However In the current scenario stripe allows card detail tokenisation only on client side using Stripe JS Library. I have implemented that in LWC.
@@salesforcemojo tokenization is working , However, I am yet to start the implementation of creating order payment summary once payment is successful. It seems there are new lwc modules/libraries (e.g. commerce/checkout etc) which will eventually ease the job. Need to explore those as well.
Hey Mojo, thank you for the video! I’m expert Adobe Commerce ( Magento ) developer, it’s my first touch in contact with Sales Force commerce cloud, it’s was a bit complex to follow but it showed me a big landscape about the possibilities with this platform, regards!
Glad to hear! Welcome to the salesforce eocsystem!
Thank you for the video. We have created our own custom payment components which supported hosted payments but could never figure out how to create the order payment summary.
I’d need to know a bit more to understand if this fits in or not but assuming you’re talking about credit card then you’ll likely need a different approach then this
We've built our own payment component which pops up a modal that frames a payment provider's hosted payment page upon clicking the payment button. A successful response allows the order to process successfully and errors are handled by the payment provider directly (and things like 3DS). Our one challenge was being able to replicate the Order Payment Summary record to mimic the behaviour of how successful payments are captured in Salesforce. This video has proven that it can be done! Great example, and thank you for your contributions to the community.
HI @@reubenlim9785 , Could you please provide some more information on that. I actually want to integrate stripe . However the current StripeAdapterClass does not work with new stripe accounts. There are few approaches stripe suggests like hosted check out, payment intents, create card element to tokenize the details and returns the token id which we can use then to capture the payment. Although I created a custom LWC component which gets the token , I want to know how can we pass this token to existing StripeAdapterClass. Or Do I have to create new Adapter Class . Since you have done Hosted Payment . I believe you done something similar. In case of hosted payment , how you have mentioned Payment Gateway Provider in store and how communication is done.
Any help will be appreciated.
Can you take more than one form of "payment" on an order? I'm wondering if this could be used for something like a loyalty program? Assuming there is a system in place that calculates loyalty points earned and points that will be earned by items in the cart, it would be great to be able to use both a regular payment or PO PLUS spending "points" to cover part of your cost.
Hello! Today, natively it’s just one payment method. I know this is somewhere in the roadmap but no where soon.
This is something that could be handled with customization though
hey! can you please update the genericCommerceAdapter class in git?
Update it how?
@@salesforcemojo I couldn’t find this particular class in the repo,
genericCommerceAdapter is the name right?
Hey Shane, i didn't find the class GenericCommerceAdapter either on github repo.
@salesforcemojo Hey Shane, as others have mentioned it looks like the GenericCommerceAdapter isn't available in the codeitforward repo
@@salesforcemojo Hey I'm also trying to find the genericCommerceAdpater class on the github repo you shared but i can't find it. Can you share it with us?
Great video👏🏽
Currently I’m facing one issue strip payment gateway integration .
This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys. I’m passing publisher key as username and password as secret key in the named credential .
Yup, that’s the expectation. However while trying to replicate this with a new account stripe is throwing and error saying passing raw credit card numbers isn’t allowed anymore. I’m looking into this with salesforce as this was part of their sample framework.
@@salesforcemojo Since a couple of days I also faced the same issue. It seems the old accounts/Legacy checkouts support Token API. However In the current scenario stripe allows card detail tokenisation only on client side using Stripe JS Library.
I have implemented that in LWC.
@@OwaisAminAhanger nice! Do you have this working within the gateway framework creating order payment summaries?
@@salesforcemojo tokenization is working , However, I am yet to start the implementation of creating order payment summary once payment is successful.
It seems there are new lwc modules/libraries (e.g. commerce/checkout etc) which will eventually ease the job. Need to explore those as well.
Owais,
Can you please share if you implemented complete order