4
votes
Accepted
Payment currency not allowed
Solution from Craft:
In your Control Panel, click on Commerce then on the vertical subnav (where you have All Orders, New, Shipped....) you will have Active and Inactive carts, this is what Luke ...
3
votes
Accepted
Mark a Commerce Order as Paid, via a custom plugin
Your best bet would be to create a transaction for the full amount:
$transaction = Plugin::getInstance()->transactions->createTransaction($order);
$transaction->status = \craft\commerce\...
2
votes
Accepted
Craft Commerce payments not going through - status "redirect"
My money is on 3D Secure, a security protocol that requires card authentication before the card can be charged.
https://stripe.com/docs/payments/3d-secure
So those "Redirect" orders are ...
2
votes
Accepted
Checkout Without Payment
I set config variable to general config instead of commerce config. That's all..
2
votes
Send payment requests
This is possible with Craft Commerce 3 Pro.
Create an email that would trigger on an 'Invoice' order status that you configure. (or any other name you want)
You would make the order in the Control ...
2
votes
Craft Commerce payment gateway: general info requested
How far does Craft Commerce go when a user puts an order?
When an order is paid in full it is marked as complete and gets a default order status that you can configure, after that a store admin ...
2
votes
Missing required param: card[exp_month] on Charge 2
Add the following hidden inputs below the <input type="text" data-stripe="exp" placeholder="mm / yy" id="cardExpiry"/> line:
<input type="hidden" name="cardExpMonth" data-stripe="exp_month"&...
2
votes
Craft Commerce eWAY payment error
Which eWay are you implementing?
We have used eWAY Rapid Direct with no issues for over a year now with Commerce.
They key most people seem to miss is that you must implement the CSE - Client Side ...
2
votes
Craft Commerce 2: PayPal Express not working - Correlation id: unknown
The Craft support helped me to figure this out. The problem was, that the CSRF wasn't properly disabled.
So in my config/general.php I have the following:
if ( !function_exists('isApiRequest') ) {
...
1
vote
Accepted
Commerce 2 — Guest checkout error: no customer email address exists on this cart
Switching to the new template structure fixed the issue I had regarding the email not being recognised/saved.
1
vote
getTransactionByHash() must be of the type string, null given
When you redirect to the gateway's site to accept payment, within the data they receive, they usually ask for the URL to return to after payment is made.
This URL should point to the ...
1
vote
Mark a Commerce Order as Paid, via a custom plugin
If anyone is interested, here's Commerce 3 version.
$number = 'xxx';
$order = \craft\commerce\elements\Order::find()->number($number)->one();
$transaction = \craft\commerce\Plugin::...
1
vote
Accepted
Commerce Stripe Card Declined shows white screen with no error
Couldn't get past the white page issue so I made a simple plugin which does the following:
craft()->on('commerce_transactions.onSaveTransaction', function($event) {
$transaction = $event->...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
payment × 17plugin-craftcommerce × 10
plugin-craftcommerce2 × 4
plugin-craftcommerce3 × 4
craft3 × 3
stripe × 3
plugin-development × 2
payment-methods × 2
users × 1
form × 1
events × 1
craft-pro × 1
ecommerce × 1
plugin-charge × 1
analytics × 1
plugin-commerce-stripe × 1
tax × 1
omnipay × 1
white-screen × 1