Problème avec paypal express checkout

Par Plus, il y a 12 ans


j'ai suivi le tutoriel sur paypal express checkout (super tuto en passant XD) mais j'ai un problème.
Quand je clic sur le boutton payer , sur la page index , je tombe sur cette page :
http://nsa33.casimages.com/img/2014/01/02/140102064007765103.png
Que ce soit en prod ou pas. La version utiliée est la version 109.0 .

merci

6 réponses

Lartak, il y a 12 ans

Bonsoir.
Vu que le tutoriel à plus d'un an, il est donc fortement probable qu'il y ait des rectification à faire, comme le TOKEN à priori qui est déprécié.
As-tu consulté leur documentation pour adapter avec les nouvelles versions ?

Plus, il y a 12 ans

bonsoir Lartak11.

j'y avais pas pensé. je vais consulter la documentation. Si je trouve la solution je la posterai.

merci.

Lartak, il y a 12 ans

En fait ce n'est pas TOKEN, mais PAYMENTACTION

PAYMENTACTION (deprecated):
This field is deprecated. Use PAYMENTREQUEST_n_PAYMENTACTION instead.
(Required) How you want to obtain payment:
Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization & Capture.
Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization & Capture.
Sale indicates that this is a final sale for which you are requesting payment.
NOTE:You cannot set this value to Sale on SetExpressCheckout request and then change this value to Authorization on the final PayPal Express Checkout API DoExpressCheckoutPayment request.
Character length and limit: Up to 13 single-byte alphabetic characters

Et il y en a d'autres, voir ici

Plus, il y a 12 ans

Ok je comprend.
Merci beaucoup pour ton aide ;D .
à plus sur le forum.

Lartak, il y a 12 ans

De rien, avec plaisir. :)