S
S
Sergey Ganzhela2017-08-10 20:31:37
Django
Sergey Ganzhela, 2017-08-10 20:31:37

Functioning of the PayPal sandbox?

Good day! Tell me, is the PayPal sandbox currently operating normally? that test payments do not pass. and if it doesn’t work, what do they say and how to be how to check payments?
And tell me please, did I really need a sandbox so that the structure of the answer could be felt? payment_was_successful signals like this come in. Do I need to extract the record ID from there and take the necessary actions with it? Tell me how to get it out of there in the direction of PayPal, a dictionary is formed like

paypal_dict = {
                    'business': settings.PAYPAL_RECEIVER_EMAIL,
                    'amount': amount,
                    'item_name': 'Bay STP club-kart(plan %s) %s Transaction #%s' % (plan.name, amount, record.id),
                    'invoice': str(record.id),
                    'currency_code': 'EUR',
                    'notify_url': 'http://{}{}'.format(host, reverse('paypal-ipn')),
                    'return_url': 'http://{}{}'.format(host, reverse('billing:done')),
                    'cancel_return': 'http//{}{}'.format(host, reverse('billing:canceled'))
                }

Here I need to pick out record.id from the message
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tema_sun, 2017-08-10
@Sergiy_Hanzhela

I got so fed up with the fact that their sandbox sends me notifications for three days that now I work with a live api and just send $0.01 for checks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question