Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2246 Weergaven

Hi all,


I am implementig Odoo 15 Community version for a eCommerce site. All is fine, but when payment is made for products, the items remain in the shopping cart and the order is never approved.

Am I missing a configuration somewhere?

Regardd

Avatar
Annuleer
Beste antwoord

Maybe you are missing something in payment configuration. When payment is not complete order is not approved.

Avatar
Annuleer
Auteur Beste antwoord

I went through everything again. A series of screen recordings can be seen by following the links below:

https://ignatius-zwavelpoorttrading-co.tinytake.com/msc/NjI1NDg1MV8xODU4NjU3NA

https://ignatius-zwavelpoorttrading-co.tinytake.com/msc/NjI1NDgzOF8xODU4NjU2MQ

https://ignatius-zwavelpoorttrading-co.tinytake.com/msc/NjI1NDgyOV8xODU4NjU1MQ

The Server log is here: 

I trust this will provide an overview of the configuration.

The above mentioned videos shows the Payfast test done using the Payfast Sandbox. The same behaviour can be observed through the live Payfast account.

Regards


Ignatius

Avatar
Annuleer

Your all configuration is ok. After payment redirect URL not correct. You need to fixed it in PayFirst Addons. If you want to check configuration, you can select another Payment Acquirers Wire Transfer and check it.

Here you get Idea about this.....
onecard_tx_values = dict(values)
onecard_tx_values.update({
'reff_id': values['reference'],
'amount': values['amount'],
'currency_code': values['currency'] and values['currency'].name or '',
'address1': values.get('partner_address'),
'city': values.get('partner_city'),
'country': values.get('partner_country') and values.get('partner_country').code or '',
'state': values.get('partner_state') and (values.get('partner_state').code or values.get('partner_state').name) or '',
'email': values.get('partner_email'),
'user_id': values.get('partner_id'),
'phone': values.get('partner_phone'),
'zip_code': values.get('partner_zip'),
'first_name': values.get('partner_first_name'),
'last_name': values.get('partner_last_name'),
'redirect': urls.url_join(self.onecard_domain_url, '/payment/onecard/dpn/'),
'success': urls.url_join(self.onecard_domain_url, '/payment/onecard/ipn/'),
})
return onecard_tx_values