mirumee / legacy-views

A legacy fork of Saleor that contains the old storefront and dashboard code
Other
14 stars 14 forks source link

Resolving Missing Variable on Django Form #4

Open jerrellbryant opened 4 years ago

jerrellbryant commented 4 years ago

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?

karolkielecki commented 4 years ago

@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.

maarcingebala commented 4 years ago

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