legacy-views icon indicating copy to clipboard operation
legacy-views copied to clipboard

Resolving Missing Variable on Django Form

Open jerrellbryant opened this issue 5 years ago • 2 comments

What I'm trying to achieve is reducing the redundancy in the steps to make a payment on an item. The architecture for checkout/payment for saleor 1.0 requires the customer from the payment page to go to a separate page to select payment a type (e.g. stripe, braintree, razor etc) using a radio button and then submit that selection which then processes the order and goes to the confirmation page.

OBJECTIVE:

What I'm trying to do is remove the step of sending the customer to a page to select their payment type, but rather include that option on the payment page, which i feel makes the experience more seamless.

ISSUE:

When including stripe to the payment page, I am receiving an error message which is displayed on the page:

<< MISSING VARIABLE "form.payment_method_id.as_hidden" >>

Can you advise on steps to solve this issue?

jerrellbryant avatar Dec 20 '19 17:12 jerrellbryant

@jerrellbryant Hey! Thanks for reporting. We'll take a look at your issue, but due to the holiday season it can take some time. Thanks for understanding.

karolkielecki avatar Dec 23 '19 14:12 karolkielecki

This issue applies to the old storefront so I'm moving it to the legacy-views repo.

maarcingebala avatar Jan 07 '20 14:01 maarcingebala