Custom cart steps - Generatepaymentform after details
I'm trying to implement a cart that skips the shipping and confirm steps, so the user enters their details and presses submit and the payment is completed (invoicing).
I'm using TC.GeneratePaymentForm to render the submit button, but I think the problem is having it on the same page as the form for customer details as orders are being submitted with no customer details saved. Is there a way to get the user details to submit and then finalize the order from the same page, rather than a seperate "confirm" page?
Then you properly need to use the Javascript API to post the customer information and then call generatePaymentform in the JS API. A normal server post wont support this case I think.
Custom cart steps - Generatepaymentform after details
I'm trying to implement a cart that skips the shipping and confirm steps, so the user enters their details and presses submit and the payment is completed (invoicing).
I'm using TC.GeneratePaymentForm to render the submit button, but I think the problem is having it on the same page as the form for customer details as orders are being submitted with no customer details saved. Is there a way to get the user details to submit and then finalize the order from the same page, rather than a seperate "confirm" page?
Hi Matt
Then you properly need to use the Javascript API to post the customer information and then call generatePaymentform in the JS API. A normal server post wont support this case I think.
Kind regards
Anders
is working on a reply...