Hot answers tagged

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 ...
iamkeir's user avatar
  • 458
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\...
Luke Holder's user avatar
  • 6,767
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 ...
Matanya's user avatar
  • 442
2 votes
Accepted

Checkout Without Payment

I set config variable to general config instead of commerce config. That's all..
Taher Kathiriya's user avatar
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 ...
Luke Holder's user avatar
  • 6,767
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 ...
Luke Holder's user avatar
  • 6,767
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"&...
benface's user avatar
  • 226
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 ...
Jeremy Daalder's user avatar
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') ) { ...
obs's user avatar
  • 467
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.
fbnntt's user avatar
  • 109
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 ...
Luke Holder's user avatar
  • 6,767
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::...
piotrpog's user avatar
  • 1,266
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->...
Matt Shearing's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible