On Wed Apr 02 16:08:02 2014, melmothx@gmail.com wrote:
Show quoted text> "Olaf Alders via RT" <bug-Business-PayPal-API@rt.cpan.org> writes:
>
> > As described in the workflow, what do you see when you dump %details:
> >
> > my %details = $pp->GetExpressCheckoutDetails($resp{Token});
> > use Data::Printer;
> > p %details;
> >
> > You should have access to this *before* DoExpressCheckoutPayment,
> > since all that is required is the token. Might be helpful if you
> > could
> > show some code to demonstrate the problem.
>
> Hello Olaf and thanks for the quick answer.
>
> From the perl code point of view, everything looks fine. The problem
> is
> from the buyer's point of view. The problem (and the workaround) I
> found
> is exactly the same described here:
>
>
http://stackoverflow.com/questions/8206175/missing-amount-and-order-
> summary-in-paypal-express-checkout
>
> The perl code sees the amount, but the buyer doesn't, unless the the
> parameter useraction=commit is passed to Paypal on redirection. It
> looks
> like PayPal doesn't show the amount if there is no detailed list of
> the
> items (or if there is no useraction=commit), so I was wondering if it
> was possible to add the items when creating the token with
> SetExpressCheckout.
>
> I'll post some code if needed, but it boils down to the synopsis of
> Business::PayPal::API::ExpressCheckout, and doesn't expose the problem
> (which is from the buyer point of view).
>
> Best wishes
Hi Marco,
OK. I understand what you're saying now. The workflow I've always used has me presenting the details to the buyer on my own site, having them do the PayPal authentication and then letting them confirm the purchase on my end before I submit the payment. So, I've got control of the payment details etc in that case.
To be honest, I got maint on this module for a very minor fix, so I haven't delved that deeply into the code. I'd be open to a pull request to add the functionality you've described though. I say this without having looked at the internals to see what would be involved. ;)
Best,
Olaf