Skip to content
Snippets Groups Projects
Commit 456fc7ca authored by mattwire's avatar mattwire
Browse files

Use mjwshared function to get the configured form currency as it's different for events.

parent 20ef4d93
Branches
Tags
No related merge requests found
......@@ -306,7 +306,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
public function buildForm(&$form) {
$jsVars = [
'id' => $form->_paymentProcessor['id'],
'currency' => $form->_values['currency'],
'currency' => $this->getDefaultCurrencyForForm($form),
'billingAddressID' => CRM_Core_BAO_LocationType::getBilling(),
'publishableKey' => CRM_Core_Payment_Stripe::getPublicKeyById($form->_paymentProcessor['id']),
'jsDebug' => TRUE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment