Do not fail to render checkout html if there is no payment_method
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@
|
||||
}
|
||||
});
|
||||
} else {
|
||||
card = {payment_method: '${data['payment_method']}'}
|
||||
card = {payment_method: '${data.get('payment_method', '')}'}
|
||||
}
|
||||
|
||||
var cardButton = document.getElementById('card-button');
|
||||
|
||||
Reference in New Issue
Block a user