Replies: 1 comment 2 replies
-
Can you try using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am currently developing a checkout page where the customer fills in their information and then selects a paymentmethod:
$checkout = Statamic::tag('sc:checkout')->params(['redirect' => '/afronden'])->fetch();
There are two payment methods. Mollie and Cash on Pickup which are configured in the simple-commerce.php:
This is how i fetch the gateways:
$gateways = Statamic::tag('sc:gateways')->fetch();
Which are in turn loaded into the form like this:
Whenever i select either gateway it gives me an error:
The provided payment gateway is not valid.
I did try testing the Mollie payment gateway using:
Which seems to work as intended.
Do you have any idea what i'm doing wrong?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions