#Madhu
1 messages · Page 1 of 1 (latest)
Hello can you tell me more about the issue that you are seeing? Are you getting an error message or are some fields simply not appearing?
That appears to be our legacy Checkout integration. Are you developing this for the first time now or are you maintaining a legacy site? I'm happy to help either way, but if you are starting now I have alternative methods that may be easier to work with
Fields are not appearing in one page
I am developing for first time
Please send me the alternative work. Thank you so much
This is our modern flow that is closest to what that one looks like https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
this.handler = StripeCheckout.configure({
key: _global.stripeKey,
image: _global.headerImg,
locale: 'auto',
billingAddress: true,
token: function (token, status) {
//debugger;
stripe.token = token;
//save the token to process the itemdetail.
//_global.createInvoiceDetail();
}
});
// Open Checkout with further options:
this.handler.open({
email: 'sebastian.ormaechea@togetherwork.com',
name: _billtoName,
description: _name,
amount: _amount,
billingAddress: true,
currency: "usd",
});
If you want to do a completely Stripe hosted page you can follow the other tab on that doc https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
Yeah I would recommend not using legacy Checkout right now. We still support it but it has a lot less features and is harder to use than our current offerings
Thank you. I will check it now
Do you have any client side scripting for me to quickly setup and see how it works
We need to implement this in client side
Can you explain what you are looking for a bit more? Like a live demo or a sample with complete code? https://stripe.com/docs/payments/quickstart
We need to implement complete checkout stripe code in our Dynamics CRM pages
I am trying to do some POC
I am not that familiar with Dynamics CRM. Are you saying you don't have a backend here at all?
Yes, we have back end but need to implement Stripe checkout page on client side scripting. Once I got tokens then I can use backend calls
The docs that I linked to specify both server side and client side code that you can use here
Just looking for client side scripting to display complete checkout page
How is that different from the javascript code that we show in those docs? Can you tell me more about what you want this client side code to do?
We just need Javascript code. When I use above code it is only displaying few fields on form. I need to use new script
his.handler = StripeCheckout.configure({
key: _global.stripeKey,
image: _global.headerImg,
locale: 'auto',
billingAddress: true,
token: function (token, status) {
//debugger;
stripe.token = token;
//save the token to process the itemdetail.
//_global.createInvoiceDetail();
//window.close();
}
});
// Open Checkout with further options:
this.handler.open({
email: 'sebastian.ormaechea@togetherwork.com',
name: _billtoName,
description: _name,
amount: _amount,
billingAddress: true,
currency: "usd",
});
This is what I am using
The docs that I linked to have new javascript code to use
Even that code that you showed would have to use server side code to work properly
Thank you. I will try new code
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.