Subscription > payment provider
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Subscription > payment provider
A confirmation e-mail will be generated by the order/email/payment job (which should be execute by a cron job regularly).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Subscription > payment provider
Okay, I think I've sorted myself. Two questions for now.
1. Is there a way to not send a mail for the new invoice? like an option or anything? As I'd rather not send it or would i need to make my own class for the email job?
2. It is correct that it will also fire the delivery service, right?
1. Is there a way to not send a mail for the new invoice? like an option or anything? As I'd rather not send it or would i need to make my own class for the email job?
2. It is correct that it will also fire the delivery service, right?
Re: Subscription > payment provider
An e-mail will be sent if you set the order payment status to a value for which the job controller sends an e-mail (usually >= PAY_PENDING).
Only if you set the delivery status.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Subscription > payment provider
Hey, okay, that seems to work. Though.
I need to have $this->getConfigValue('payment.url-update') for the webhook of mollie, but its empty within repay(). How to get it?
EDIT: Also once i run the renew job it somehow screws my order up. I thought the renew would create a new invoice for the initial order, not a new order alltogether. Also it somehow removes my address from the initial order. Take a look at my screens.
Just noticed it seems to be a bug, if i run the renew for the first time it'll delete the address from the original order and put it into the first renew, if i renew again, the address remains empty, probably because the intial order address is gone.
Edited the renew now. Instead of creating a new order, i just create a new invoice for the original order. Seems better to me in the context of a subscription. Renew/Standard.php Line 87
I need to have $this->getConfigValue('payment.url-update') for the webhook of mollie, but its empty within repay(). How to get it?
EDIT: Also once i run the renew job it somehow screws my order up. I thought the renew would create a new invoice for the initial order, not a new order alltogether. Also it somehow removes my address from the initial order. Take a look at my screens.
Just noticed it seems to be a bug, if i run the renew for the first time it'll delete the address from the original order and put it into the first renew, if i renew again, the address remains empty, probably because the intial order address is gone.
Edited the renew now. Instead of creating a new order, i just create a new invoice for the original order. Seems better to me in the context of a subscription. Renew/Standard.php Line 87
Code: Select all
//$newOrder = $this->createOrderBase( $context, $item );
$orderManager = \Aimeos\MShop::create( $context, 'order/base' );
$newOrder = $orderManager->load( $item->getOrderBaseId() );
$newInvoice = $this->createOrderInvoice( $context, $newOrder );
- Attachments
-
- subscription2.jpg (37.43 KiB) Viewed 2002 times
Re: Subscription > payment provider
Can you please run "composer update" and make sure you have th latest Aimeos 2019.10.x versions?
There have been a problem with addresses and that might also fix your problem.
A new order is created for subscriptions because orders can have more then the subscription product, e.g. together with a regular articles. That one shouldn't be renewed.
In Aimeos 2020.x, mshop_order and mshop_order_base will get merged.
There have been a problem with addresses and that might also fix your problem.
A new order is created for subscriptions because orders can have more then the subscription product, e.g. together with a regular articles. That one shouldn't be renewed.
In Aimeos 2020.x, mshop_order and mshop_order_base will get merged.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star