Skip to content

Commit

Permalink
Fix: update gateways option key in Stripe adapter for Payment Element…
Browse files Browse the repository at this point in the history
… Gateway (#6945)

Co-authored-by: Jon Waldstein <[email protected]>
  • Loading branch information
jonwaldstein and Jon Waldstein authored Sep 19, 2023
1 parent 68b855d commit bbbac7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function loadLegacyStripeWebhooksAndFilters()
{
$settings = give_get_settings();
$gatewaysFromSettings = $settings['gateways'] ?? [];
$gatewaysFromOption = give_get_option('gateways');
$gatewaysFromOption = give_get_option('gateways_v3', []);

// for some reason, the gateways from the settings are not always in the gateways from the option.
// this might be a service provider race conditions.
Expand Down

0 comments on commit bbbac7a

Please sign in to comment.