Skip to main content
10 votes

Payment has already been made for this InvoiceID (#10412: Duplicate invoice)

I think, this issue accrues when we have multiple instance of website. In case you have multiple development instance of website. You need to allow "Accept Duplicate Invoice" from Paypal. In order ...
Pankaj Sharma's user avatar
6 votes

Recurring.php and RecurringData.php

I've found this from online sources: The recurring scripts are executed after any module setup. If a module needs to do something everytime other modules are installed it can do it via the recurring ...
Adrian Z.'s user avatar
  • 707
4 votes

Area code is already set: while set:upgrade command in RecurringData.php magento 2

I don't know this is the rightway or not but it's solution is in /var/www/html/magento231(your magento root directory)/bin/magento open this file add after <?php below line echo "\...
Rutvee Sojitra's user avatar
3 votes

Magento Subscription or Recurring payment

As of April 2016: Unlike Magento 1 (which had Recurring Profiles), Magento 2 does not include any kind of subscription or recurring payment functionality out of box. This may change in the future, ...
Ryan Hoerr's user avatar
  • 12.3k
2 votes

Area code is already set: while set:upgrade command in RecurringData.php magento 2

I've seen this happen if extension console scripts are written in a certain way that was fine under previous versions. But that means that you've got to disable and reenable console scripts from third ...
Dominic Pixie's user avatar
2 votes

Area code is already set: while set:upgrade command in RecurringData.php magento 2

File: vendor/magento/framework/App/State.php in this function public function setAreaCode($code) try { $appState->setAreaCode('frontend'); } catch (...
Pradip Garchar's user avatar
1 vote

Create/Update static block programmatically in magento2

It seems like there are duplicate cms block available with different store. This error occurred from this file : vendor\magento\module-cms\Model\ResourceModel\Block.php /** * Perform operations ...
Rohan Hapani's user avatar
  • 17.4k
1 vote

Create/Update static block programmatically in magento2

Set Block Id when you update the content. if (!$customBlock->getId()) { $this->blockFactory->create()->setData($contentBlock )->save(); } else { $customBlock->setId($...
Rakesh Varma's user avatar
  • 2,226
1 vote

Redirect custom recurring payment method to payment gateway after order is placed in Magento 1

I encountered the exact same issue and I approached it in a different manner. I created an observer for the checkout_submit_all_after event and inside the the observer I check if any recurring ...
Cosmin's user avatar
  • 11
1 vote

How to test magento native Paypal Express recurring profile and order creation in Magento 1?

Just check once if IPN handler URL is like: http://SITE_BASE_URL/index.php/paypal/ipn/index/ To set IPN URL: Log in to your Paypal account Navigate to your Account's summary page. Scroll down and ...
Akhil Gupta's user avatar
  • 1,946
1 vote

How to edit the Recurring profiles page?

You can find the path of the recurring profiles block in app/design/frontend/base/default/layout/sales/recurring_profile.xml <sales_recurring_profile_index> ... <...
Agnes's user avatar
  • 787
1 vote

"No payment method" appears in checkout page for product with recurring profile

Magento supports recurring profiles only for PayPal payment system through the Express Checkout method only as default payment option that's why you are not able to see Braintree payment method on ...
Keyur Shah's user avatar
  • 18.1k

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