<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/payment_stripe, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[FIX] payment_stripe_sca, *: use setup_future_usage when saving card</title>
<updated>2021-04-23T15:20:02+00:00</updated>
<author>
<name>nie</name>
<email>nie@odoo.com</email>
</author>
<published>2021-04-22T13:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=45c839deaa45225b3613805aebf88e167535bc71'/>
<id>45c839deaa45225b3613805aebf88e167535bc71</id>
<content type='text'>
*: account_payment, payment, sale

Steps:
- Install eCommerce
- Go to Website / Configuration / eCommerce / Payment Acquirers
- Configure Stripe:
  - Save Cards: Always
  - Payment Flow: Redirection to the acquirer website
- Go to /shop
- Add a product to the cart
- Process Checkout
- Select Stripe
- Pay Now
- Enter test data in Stripe Checkout form (https://stripe.com/docs/testing#cards)
- Pay
- Go to /shop
- Add a product to the cart
- Process Checkout
- Select your saved card
- Pay Now

Bug:
Stripe Error:
The provided PaymentMethod was previously used with a PaymentIntent
without Customer attachment, shared with a connected account without
Customer attachment, or was detached from a Customer. It may not be used
again. To use a PaymentMethod multiple times, you must attach it to a
Customer first.

Explanation:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
&gt; Indicates that you intend to make future payments with the payment
&gt; method collected by this Checkout Session.

According to this doc, `setup_future_usage` must be set in order to use
the saved card afterwards.

opw:2452452
opw:2498571
opw:2509897

closes odoo/odoo#69772

X-original-commit: 43e666f21f488067cf09a994fba7782271446b84
Signed-off-by: backspac &lt;backspac@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*: account_payment, payment, sale

Steps:
- Install eCommerce
- Go to Website / Configuration / eCommerce / Payment Acquirers
- Configure Stripe:
  - Save Cards: Always
  - Payment Flow: Redirection to the acquirer website
- Go to /shop
- Add a product to the cart
- Process Checkout
- Select Stripe
- Pay Now
- Enter test data in Stripe Checkout form (https://stripe.com/docs/testing#cards)
- Pay
- Go to /shop
- Add a product to the cart
- Process Checkout
- Select your saved card
- Pay Now

Bug:
Stripe Error:
The provided PaymentMethod was previously used with a PaymentIntent
without Customer attachment, shared with a connected account without
Customer attachment, or was detached from a Customer. It may not be used
again. To use a PaymentMethod multiple times, you must attach it to a
Customer first.

Explanation:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
&gt; Indicates that you intend to make future payments with the payment
&gt; method collected by this Checkout Session.

According to this doc, `setup_future_usage` must be set in order to use
the saved card afterwards.

opw:2452452
opw:2498571
opw:2509897

closes odoo/odoo#69772

X-original-commit: 43e666f21f488067cf09a994fba7782271446b84
Signed-off-by: backspac &lt;backspac@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-04-24T22:15:24+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-04-24T22:15:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=22cf05f652ceb1f0f2e17d160cdf8d0cc5a00a15'/>
<id>22cf05f652ceb1f0f2e17d160cdf8d0cc5a00a15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-04-03T22:16:17+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-04-03T22:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=393ce31fbdd9c424037dc159e1ec8ac1bfbbf0b0'/>
<id>393ce31fbdd9c424037dc159e1ec8ac1bfbbf0b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] payment{,_stripe},sale: special character in reference</title>
<updated>2021-03-31T09:24:30+00:00</updated>
<author>
<name>Nicolas Lempereur</name>
<email>nle@odoo.com</email>
</author>
<published>2021-03-29T15:10:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4e5a355f7c2978a6f705e6ca36abdfc51636acfc'/>
<id>4e5a355f7c2978a6f705e6ca36abdfc51636acfc</id>
<content type='text'>
Special character in reference (eg. '#' character in invoice sequence)
might cause error for payment acquirer.

For example with stripe we get the error on:

    {'error': {'code': 'url_invalid',
     'doc_url': 'https://stripe.com/docs/error-codes/url-invalid',
     'message': 'Not a valid URL', 'param': 'success_url',
     'type': 'invalid_request_error'}}

Or an error because prepare_tx_url is broken.

With this changeset, when a payment reference is used inside an url, we
quote it.

opw-2479658

note: also uses url_quote_plus in payment.link.wizard()._generate_link
since this is what is expected by werkzeug (previously + characters
became spaces).

closes odoo/odoo#68577

X-original-commit: 47645c2f170d5a7c09ae80d4e0de6c3a821f7b36
Signed-off-by: Nicolas Lempereur (nle) &lt;nle@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Special character in reference (eg. '#' character in invoice sequence)
might cause error for payment acquirer.

For example with stripe we get the error on:

    {'error': {'code': 'url_invalid',
     'doc_url': 'https://stripe.com/docs/error-codes/url-invalid',
     'message': 'Not a valid URL', 'param': 'success_url',
     'type': 'invalid_request_error'}}

Or an error because prepare_tx_url is broken.

With this changeset, when a payment reference is used inside an url, we
quote it.

opw-2479658

note: also uses url_quote_plus in payment.link.wizard()._generate_link
since this is what is expected by werkzeug (previously + characters
became spaces).

closes odoo/odoo#68577

X-original-commit: 47645c2f170d5a7c09ae80d4e0de6c3a821f7b36
Signed-off-by: Nicolas Lempereur (nle) &lt;nle@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-03-27T23:16:41+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-03-27T23:16:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f05e4bb26370a10c166acdf3a0cb166715b1dfbf'/>
<id>f05e4bb26370a10c166acdf3a0cb166715b1dfbf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] payment_stripe: fix transaction authentication</title>
<updated>2021-03-26T15:27:30+00:00</updated>
<author>
<name>Nikunj Ladava</name>
<email>nla@odoo.com</email>
</author>
<published>2021-03-25T10:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cf9d17eb344215a4872463d1942ab4111028fe21'/>
<id>cf9d17eb344215a4872463d1942ab4111028fe21</id>
<content type='text'>
Before this commit:
	- stripe is configured to make payment with s2s
	- when any customer tries to make payment with stripe it will ask
	  customer to authorize the transaction twice. it was intended from
	  the setup intent, it will create a payment method from the intent
	  and then we can make transactions for it.
	- here payment method is authorized by the user (the card that added by
	  user to make payment) but while making the payment it requires the
	  authorization again.

After this commit:
	- it will directly create the payment method for the card if the customer
	  tries to make payment and validate the transaction only
	  hence, it won't have any issue like having an authorization form without
	  showing any amount in it.
	- for adding the card from my/payment_methods flow will be the same
	  as before

closes odoo/odoo#68413

Opw: 2476493
X-original-commit: 63a29cd463f85a820dc0ddac50baa36ffd42c349
Signed-off-by: Victor Feyens (vfe) &lt;vfe@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit:
	- stripe is configured to make payment with s2s
	- when any customer tries to make payment with stripe it will ask
	  customer to authorize the transaction twice. it was intended from
	  the setup intent, it will create a payment method from the intent
	  and then we can make transactions for it.
	- here payment method is authorized by the user (the card that added by
	  user to make payment) but while making the payment it requires the
	  authorization again.

After this commit:
	- it will directly create the payment method for the card if the customer
	  tries to make payment and validate the transaction only
	  hence, it won't have any issue like having an authorization form without
	  showing any amount in it.
	- for adding the card from my/payment_methods flow will be the same
	  as before

closes odoo/odoo#68413

Opw: 2476493
X-original-commit: 63a29cd463f85a820dc0ddac50baa36ffd42c349
Signed-off-by: Victor Feyens (vfe) &lt;vfe@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-03-20T23:16:42+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-03-20T23:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d7d11b993db5b17c421302829f0bd5a76c229e7c'/>
<id>d7d11b993db5b17c421302829f0bd5a76c229e7c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-03-06T23:21:51+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-03-06T23:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=41425b38d253fcb082c18317bbcdc171f22c5925'/>
<id>41425b38d253fcb082c18317bbcdc171f22c5925</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-02-20T23:19:55+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-02-20T23:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e5d0cc6ff14d731f3b9fc5b8a446fab5d8e9990e'/>
<id>e5d0cc6ff14d731f3b9fc5b8a446fab5d8e9990e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[I18N] Update translation terms from Transifex</title>
<updated>2021-02-13T23:16:56+00:00</updated>
<author>
<name>Odoo Translation Bot</name>
<email>c3p@odoo.com</email>
</author>
<published>2021-02-13T23:16:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=8bd81014f317c693b915a38d1d4dec0c5e490f90'/>
<id>8bd81014f317c693b915a38d1d4dec0c5e490f90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
